Package net.minecraft.entity.passive
Class AxolotlBrain
java.lang.Object
net.minecraft.entity.passive.AxolotlBrain
Represents the definition of an axolotl entity brain.
Activity | Tasks |
---|---|
Activity.CORE |
|
Activity.IDLE |
|
Activity.FIGHT |
|
Activity.PLAY_DEAD |
- Mappings:
Namespace Name named net/minecraft/entity/passive/AxolotlBrain
intermediary net/minecraft/class_5768
official cgu
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final float
private static final float
private static final float
private static final float
private static final float
private static final UniformIntProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addCoreActivities
(Brain<AxolotlEntity> brain) private static void
addFightActivities
(Brain<AxolotlEntity> brain) private static void
addIdleActivities
(Brain<AxolotlEntity> brain) private static void
addPlayDeadActivities
(Brain<AxolotlEntity> brain) private static boolean
canGoToLookTarget
(LivingEntity entity) protected static Brain
<?> create
(Brain<AxolotlEntity> brain) private static float
getAdultFollowingSpeed
(LivingEntity entity) Returns the axolotl's speed when a baby axolotl is following an adult.private static Optional
<? extends LivingEntity> getAttackTarget
(AxolotlEntity axolotl) private static float
Returns the axolotl's speed when approaching the attack target.private static float
getTemptedSpeed
(LivingEntity entity) Returns the axolotl's speed when the axolotl is being tempted.static void
updateActivities
(AxolotlEntity axolotl)
-
Field Details
-
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
Lcgu;a:Lbqh;
-
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
Lcgu;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
Lcgu;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
Lcgu;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
Lcgu;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
Lcgu;f:F
-
-
Constructor Details
-
AxolotlBrain
public AxolotlBrain()
-
-
Method Details
-
create
- 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
Lcgu;a(Lbut;)Lbut;
-
addPlayDeadActivities
- 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
Lcgu;b(Lbut;)V
-
addFightActivities
- 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
Lcgu;c(Lbut;)V
-
addCoreActivities
- 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
Lcgu;d(Lbut;)V
-
addIdleActivities
- 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
Lcgu;e(Lbut;)V
-
canGoToLookTarget
- 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
Lcgu;a(Lbtr;)Z
-
updateActivities
- 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
Lcgu;a(Lcgt;)V
-
getTargetApproachingSpeed
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
Lcgu;b(Lbtr;)F
-
getAdultFollowingSpeed
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
Lcgu;c(Lbtr;)F
-
getTemptedSpeed
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
Lcgu;d(Lbtr;)F
-
getAttackTarget
- Mappings:
Namespace Name Mixin selector named getAttackTarget
Lnet/minecraft/entity/passive/AxolotlBrain;getAttackTarget(Lnet/minecraft/entity/passive/AxolotlEntity;)Ljava/util/Optional;
intermediary method_33247
Lnet/minecraft/class_5768;method_33247(Lnet/minecraft/class_5762;)Ljava/util/Optional;
official b
Lcgu;b(Lcgt;)Ljava/util/Optional;
-
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
Lcgu;a()Ljava/util/function/Predicate;
-