Class Turtle.TurtleTravelGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Turtle.TurtleTravelGoal
- Enclosing class:
- Turtle
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
turtle
-
speedModifier
private final double speedModifier -
stuck
private boolean stuck
-
-
Constructor Details
-
TurtleTravelGoal
TurtleTravelGoal(Turtle p_30333_, double p_30334_)
-
-
Method Details
-
canUse
public boolean canUse() -
start
public void start() -
tick
public void tick() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
stop
public void stop()
-