Class Turtle.TurtleGoHomeGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Turtle.TurtleGoHomeGoal
- Enclosing class:
- Turtle
-
Field Details
-
turtle
-
speedModifier
private final double speedModifier -
stuck
private boolean stuck -
closeToHomeTryTicks
private int closeToHomeTryTicks -
GIVE_UP_TICKS
private static final int GIVE_UP_TICKS- See Also:
- Constant Field Values
-
-
Constructor Details
-
TurtleGoHomeGoal
TurtleGoHomeGoal(Turtle p_30253_, double p_30254_)
-
-
Method Details
-
canUse
public boolean canUse() -
start
public void start() -
stop
public void stop() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
tick
public void tick()
-