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 SummaryFieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate final doubleprivate booleanprivate final Turtle
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.goal.GoaladjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
- 
Field Details- 
turtle
- 
speedModifierprivate final double speedModifier
- 
stuckprivate boolean stuck
- 
closeToHomeTryTicksprivate int closeToHomeTryTicks
- 
GIVE_UP_TICKSprivate static final int GIVE_UP_TICKS- See Also:
 
 
- 
- 
Constructor Details- 
TurtleGoHomeGoalTurtleGoHomeGoal(Turtle p_30253_, double p_30254_) 
 
- 
- 
Method Details- 
canUsepublic boolean canUse()
- 
startpublic void start()
- 
stoppublic void stop()
- 
canContinueToUsepublic boolean canContinueToUse()- Overrides:
- canContinueToUsein class- Goal
 
- 
tickpublic void tick()
 
-