Class Turtle.TurtleGoHomeGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Turtle.TurtleGoHomeGoal
- Enclosing class:
 - Turtle
 
- 
Nested Class Summary
 - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate final doubleprivate booleanprivate final Turtle - 
Constructor Summary
Constructors - 
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 - 
closeToHomeTryTicks
private int closeToHomeTryTicks - 
GIVE_UP_TICKS
private static final int GIVE_UP_TICKS- See Also:
 
 
 - 
 - 
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:
 canContinueToUsein classGoal
 - 
tick
public void tick() 
 -