Class AxolotlBrain

java.lang.Object
net.minecraft.entity.passive.AxolotlBrain

public class AxolotlBrain extends Object
Mappings:
Namespace Name
official bsr
intermediary net/minecraft/class_5768
named net/minecraft/entity/passive/AxolotlBrain
  • Field Details

    • WALK_TOWARD_ADULT_RANGE

      private static final UniformIntProvider WALK_TOWARD_ADULT_RANGE
      Mappings:
      Namespace Name Mixin selector
      official a Lbsr;a:Lbdj;
      intermediary field_28351 Lnet/minecraft/class_5768;field_28351:Lnet/minecraft/class_6019;
      named WALK_TOWARD_ADULT_RANGE Lnet/minecraft/entity/passive/AxolotlBrain;WALK_TOWARD_ADULT_RANGE:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • BREEDING_SPEED

      private static final float BREEDING_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbsr;b:F
      intermediary field_30394 Lnet/minecraft/class_5768;field_30394:F
      named BREEDING_SPEED Lnet/minecraft/entity/passive/AxolotlBrain;BREEDING_SPEED:F
    • ON_LAND_SPEED

      private static final float ON_LAND_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbsr;c:F
      intermediary field_30395 Lnet/minecraft/class_5768;field_30395:F
      named ON_LAND_SPEED Lnet/minecraft/entity/passive/AxolotlBrain;ON_LAND_SPEED:F
    • IDLE_SPEED

      private static final float IDLE_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbsr;d:F
      intermediary field_30396 Lnet/minecraft/class_5768;field_30396:F
      named IDLE_SPEED Lnet/minecraft/entity/passive/AxolotlBrain;IDLE_SPEED:F
    • TARGET_APPROACHING_SPEED

      private static final float TARGET_APPROACHING_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbsr;e:F
      intermediary field_30397 Lnet/minecraft/class_5768;field_30397:F
      named TARGET_APPROACHING_SPEED Lnet/minecraft/entity/passive/AxolotlBrain;TARGET_APPROACHING_SPEED:F
    • ADULT_FOLLOWING_SPEED

      private static final float ADULT_FOLLOWING_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbsr;f:F
      intermediary field_30398 Lnet/minecraft/class_5768;field_30398:F
      named ADULT_FOLLOWING_SPEED Lnet/minecraft/entity/passive/AxolotlBrain;ADULT_FOLLOWING_SPEED:F
  • Constructor Details

    • AxolotlBrain

      public AxolotlBrain()
  • Method Details

    • create

      protected static Brain<?> create(Brain<AxolotlEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsr;a(Lbgy;)Lbgy;
      intermediary method_33243 Lnet/minecraft/class_5768;method_33243(Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
      named create Lnet/minecraft/entity/passive/AxolotlBrain;create(Lnet/minecraft/entity/ai/brain/Brain;)Lnet/minecraft/entity/ai/brain/Brain;
    • addPlayDeadActivities

      private static void addPlayDeadActivities(Brain<AxolotlEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official b Lbsr;b(Lbgy;)V
      intermediary method_33246 Lnet/minecraft/class_5768;method_33246(Lnet/minecraft/class_4095;)V
      named addPlayDeadActivities Lnet/minecraft/entity/passive/AxolotlBrain;addPlayDeadActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addFightActivities

      private static void addFightActivities(Brain<AxolotlEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official c Lbsr;c(Lbgy;)V
      intermediary method_33249 Lnet/minecraft/class_5768;method_33249(Lnet/minecraft/class_4095;)V
      named addFightActivities Lnet/minecraft/entity/passive/AxolotlBrain;addFightActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addCoreActivities

      private static void addCoreActivities(Brain<AxolotlEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official d Lbsr;d(Lbgy;)V
      intermediary method_33251 Lnet/minecraft/class_5768;method_33251(Lnet/minecraft/class_4095;)V
      named addCoreActivities Lnet/minecraft/entity/passive/AxolotlBrain;addCoreActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addIdleActivities

      private static void addIdleActivities(Brain<AxolotlEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official e Lbsr;e(Lbgy;)V
      intermediary method_33252 Lnet/minecraft/class_5768;method_33252(Lnet/minecraft/class_4095;)V
      named addIdleActivities Lnet/minecraft/entity/passive/AxolotlBrain;addIdleActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • canGoToLookTarget

      private static boolean canGoToLookTarget(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsr;a(Lbfx;)Z
      intermediary method_37457 Lnet/minecraft/class_5768;method_37457(Lnet/minecraft/class_1309;)Z
      named canGoToLookTarget Lnet/minecraft/entity/passive/AxolotlBrain;canGoToLookTarget(Lnet/minecraft/entity/LivingEntity;)Z
    • updateActivities

      public static void updateActivities(AxolotlEntity axolotl)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsr;a(Lbsq;)V
      intermediary method_33244 Lnet/minecraft/class_5768;method_33244(Lnet/minecraft/class_5762;)V
      named updateActivities Lnet/minecraft/entity/passive/AxolotlBrain;updateActivities(Lnet/minecraft/entity/passive/AxolotlEntity;)V
    • getTargetApproachingSpeed

      private static float getTargetApproachingSpeed(LivingEntity entity)
      Returns the axolotl's speed when approaching the attack target.
      Returns:
      the axolotl's speed when approaching the attack target
      Mappings:
      Namespace Name Mixin selector
      official b Lbsr;b(Lbfx;)F
      intermediary method_33242 Lnet/minecraft/class_5768;method_33242(Lnet/minecraft/class_1309;)F
      named getTargetApproachingSpeed Lnet/minecraft/entity/passive/AxolotlBrain;getTargetApproachingSpeed(Lnet/minecraft/entity/LivingEntity;)F
    • getAdultFollowingSpeed

      private static float getAdultFollowingSpeed(LivingEntity entity)
      Returns the axolotl's speed when a baby axolotl is following an adult.
      Returns:
      the axolotl's speed when a baby axolotl is following an adult
      Mappings:
      Namespace Name Mixin selector
      official c Lbsr;c(Lbfx;)F
      intermediary method_33245 Lnet/minecraft/class_5768;method_33245(Lnet/minecraft/class_1309;)F
      named getAdultFollowingSpeed Lnet/minecraft/entity/passive/AxolotlBrain;getAdultFollowingSpeed(Lnet/minecraft/entity/LivingEntity;)F
    • getTemptedSpeed

      private static float getTemptedSpeed(LivingEntity entity)
      Returns the axolotl's speed when the axolotl is being tempted.
      Returns:
      the axolotl's speed when the axolotl is being tempted
      Mappings:
      Namespace Name Mixin selector
      official d Lbsr;d(Lbfx;)F
      intermediary method_33248 Lnet/minecraft/class_5768;method_33248(Lnet/minecraft/class_1309;)F
      named getTemptedSpeed Lnet/minecraft/entity/passive/AxolotlBrain;getTemptedSpeed(Lnet/minecraft/entity/LivingEntity;)F
    • getAttackTarget

      private static Optional<? extends LivingEntity> getAttackTarget(AxolotlEntity axolotl)
      Mappings:
      Namespace Name Mixin selector
      official b Lbsr;b(Lbsq;)Ljava/util/Optional;
      intermediary method_33247 Lnet/minecraft/class_5768;method_33247(Lnet/minecraft/class_5762;)Ljava/util/Optional;
      named getAttackTarget Lnet/minecraft/entity/passive/AxolotlBrain;getAttackTarget(Lnet/minecraft/entity/passive/AxolotlEntity;)Ljava/util/Optional;
    • getTemptItems

      public static Ingredient getTemptItems()
      Mappings:
      Namespace Name Mixin selector
      official a Lbsr;a()Lciu;
      intermediary method_33241 Lnet/minecraft/class_5768;method_33241()Lnet/minecraft/class_1856;
      named getTemptItems Lnet/minecraft/entity/passive/AxolotlBrain;getTemptItems()Lnet/minecraft/recipe/Ingredient;