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 official bio
intermediary net/minecraft/class_5768
named net/minecraft/entity/passive/AxolotlBrain
-
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 Ingredient
private static boolean
hasBreedTarget
(AxolotlEntity axolotl) static void
updateActivities
(AxolotlEntity axolotl)
-
Field Details
-
WALK_TOWARD_ADULT_RANGE
- Mappings:
Namespace Name Mixin selector official a
Lbio;a:Lavb;
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
Lbio;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
Lbio;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
Lbio;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
Lbio;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
Lbio;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
- Mappings:
Namespace Name Mixin selector official a
Lbio;a(Layc;)Layc;
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
- Mappings:
Namespace Name Mixin selector official b
Lbio;b(Layc;)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
- Mappings:
Namespace Name Mixin selector official c
Lbio;c(Layc;)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
- Mappings:
Namespace Name Mixin selector official d
Lbio;d(Layc;)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
- Mappings:
Namespace Name Mixin selector official e
Lbio;e(Layc;)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
- Mappings:
Namespace Name Mixin selector official a
Lbio;a(Laxh;)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
- Mappings:
Namespace Name Mixin selector official a
Lbio;a(Lbin;)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
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
Lbio;b(Laxh;)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
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
Lbio;c(Laxh;)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
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
Lbio;d(Laxh;)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
- Mappings:
Namespace Name Mixin selector official b
Lbio;b(Lbin;)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;
-
hasBreedTarget
- Mappings:
Namespace Name Mixin selector official c
Lbio;c(Lbin;)Z
intermediary method_33250
Lnet/minecraft/class_5768;method_33250(Lnet/minecraft/class_5762;)Z
named hasBreedTarget
Lnet/minecraft/entity/passive/AxolotlBrain;hasBreedTarget(Lnet/minecraft/entity/passive/AxolotlEntity;)Z
-
getTemptItems
- Mappings:
Namespace Name Mixin selector official a
Lbio;a()Lbwt;
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;
-