Class AxolotlAi
java.lang.Object
net.minecraft.world.entity.animal.axolotl.AxolotlAi
-
Field Summary
Modifier and TypeFieldDescriptionprivate static UniformInt
private static float
private static float
private static float
private static float
private static float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
canSetWalkTargetFromLookTarget(LivingEntity p_182381_)
private static Optional<? extends LivingEntity>
findNearestValidAttackTarget(Axolotl p_149299_)
private static float
getSpeedModifier(LivingEntity p_149301_)
private static float
getSpeedModifierChasing(LivingEntity p_149289_)
private static float
getSpeedModifierFollowingAdult(LivingEntity p_149295_)
static Ingredient
private static void
initCoreActivity(Brain<Axolotl> p_149307_)
private static void
initFightActivity(Brain<Axolotl> p_149303_)
private static void
initIdleActivity(Brain<Axolotl> p_149309_)
private static void
initPlayDeadActivity(Brain<Axolotl> p_149297_)
private static boolean
isBreeding(Axolotl p_149305_)
protected static Brain<?>
static void
updateActivity(Axolotl p_149293_)
-
Field Details
-
ADULT_FOLLOW_RANGE
-
SPEED_MULTIPLIER_WHEN_MAKING_LOVE
private static final float SPEED_MULTIPLIER_WHEN_MAKING_LOVE- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_ON_LAND
private static final float SPEED_MULTIPLIER_ON_LAND- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_IDLING_IN_WATER
private static final float SPEED_MULTIPLIER_WHEN_IDLING_IN_WATER- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_CHASING_IN_WATER
private static final float SPEED_MULTIPLIER_WHEN_CHASING_IN_WATER- See Also:
- Constant Field Values
-
SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT_IN_WATER
private static final float SPEED_MULTIPLIER_WHEN_FOLLOWING_ADULT_IN_WATER- See Also:
- Constant Field Values
-
-
Constructor Details
-
AxolotlAi
public AxolotlAi()
-
-
Method Details
-
makeBrain
-
initPlayDeadActivity
-
initFightActivity
-
initCoreActivity
-
initIdleActivity
-
canSetWalkTargetFromLookTarget
-
updateActivity
-
getSpeedModifierChasing
-
getSpeedModifierFollowingAdult
-
getSpeedModifier
-
findNearestValidAttackTarget
-
isBreeding
-
getTemptations
-