Package net.minecraft.entity.passive
Class TurtleEntity.GoHomeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.TurtleEntity.GoHomeGoal
- Enclosing class:
- TurtleEntity
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final double
private boolean
private final TurtleEntity
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
turtle
-
speedModifier
private final double speedModifier -
stuck
private boolean stuck -
closeToHomeTryTicks
private int closeToHomeTryTicks
-
-
Constructor Details
-
GoHomeGoal
GoHomeGoal(TurtleEntity p_i48821_1_, double p_i48821_2_)
-
-
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()
-