Class Turtle.TurtlePanicGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.PanicGoal
net.minecraft.world.entity.animal.turtle.Turtle.TurtlePanicGoal
- Enclosing class:
Turtle
-
Nested Class Summary
-
Field Summary
Fields inherited from class PanicGoal
isRunning, mob, posX, posY, posZ, speedModifier, WATER_CHECK_DISTANCE_VERTICAL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class PanicGoal
canContinueToUse, findRandomPosition, isRunning, lookForWater, shouldPanic, start, stopMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Constructor Details
-
TurtlePanicGoal
TurtlePanicGoal(Turtle turtle, double speedModifier)
-
-
Method Details
-
canUse
-