Class AxolotlBrain

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

public class AxolotlBrain extends Object
Represents the definition of an axolotl entity brain.
Activities associated to the axolotl entity brain
ActivityTasks
Activity.CORE
  • LookAroundTask
  • invalid reference
    net.minecraft.entity.ai.brain.task.WanderAroundTask
  • PlayDeadTimerTask
  • invalid reference
    net.minecraft.entity.ai.brain.task.TemptationCooldownTask
Activity.IDLE
Activity.FIGHT
Activity.PLAY_DEAD
Mappings:
Namespace Name
named net/minecraft/entity/passive/AxolotlBrain
intermediary net/minecraft/class_5768
official cjj
  • Field Details

    • WALK_TOWARD_ADULT_RANGE

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

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

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

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

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

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

    • AxolotlBrain

      public AxolotlBrain()
  • Method Details

    • create

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

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

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

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

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

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

      public static void updateActivities(AxolotlEntity axolotl)
      Mappings:
      Namespace Name Mixin selector
      named updateActivities Lnet/minecraft/entity/passive/AxolotlBrain;updateActivities(Lnet/minecraft/entity/passive/AxolotlEntity;)V
      intermediary method_33244 Lnet/minecraft/class_5768;method_33244(Lnet/minecraft/class_5762;)V
      official a Lcjj;a(Lcji;)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
      named getTargetApproachingSpeed Lnet/minecraft/entity/passive/AxolotlBrain;getTargetApproachingSpeed(Lnet/minecraft/entity/LivingEntity;)F
      intermediary method_33242 Lnet/minecraft/class_5768;method_33242(Lnet/minecraft/class_1309;)F
      official b Lcjj;b(Lbwf;)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
      named getAdultFollowingSpeed Lnet/minecraft/entity/passive/AxolotlBrain;getAdultFollowingSpeed(Lnet/minecraft/entity/LivingEntity;)F
      intermediary method_33245 Lnet/minecraft/class_5768;method_33245(Lnet/minecraft/class_1309;)F
      official c Lcjj;c(Lbwf;)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
      named getTemptedSpeed Lnet/minecraft/entity/passive/AxolotlBrain;getTemptedSpeed(Lnet/minecraft/entity/LivingEntity;)F
      intermediary method_33248 Lnet/minecraft/class_5768;method_33248(Lnet/minecraft/class_1309;)F
      official d Lcjj;d(Lbwf;)F
    • getAttackTarget

      private static Optional<? extends LivingEntity> getAttackTarget(ServerWorld world, AxolotlEntity axolotl)
      Mappings:
      Namespace Name Mixin selector
      named getAttackTarget Lnet/minecraft/entity/passive/AxolotlBrain;getAttackTarget(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/AxolotlEntity;)Ljava/util/Optional;
      intermediary method_33247 Lnet/minecraft/class_5768;method_33247(Lnet/minecraft/class_3218;Lnet/minecraft/class_5762;)Ljava/util/Optional;
      official a Lcjj;a(Lash;Lcji;)Ljava/util/Optional;
    • getTemptItemPredicate

      public static Predicate<ItemStack> getTemptItemPredicate()
      Mappings:
      Namespace Name Mixin selector
      named getTemptItemPredicate Lnet/minecraft/entity/passive/AxolotlBrain;getTemptItemPredicate()Ljava/util/function/Predicate;
      intermediary method_33241 Lnet/minecraft/class_5768;method_33241()Ljava/util/function/Predicate;
      official a Lcjj;a()Ljava/util/function/Predicate;