Package net.minecraft.entity.passive
Class TurtleEntity.TravelGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.passive.TurtleEntity.TravelGoal
-
- Enclosing class:
- TurtleEntity
static class TurtleEntity.TravelGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private doublespeedModifierprivate booleanstuckprivate TurtleEntityturtle
-
Constructor Summary
Constructors Constructor Description TravelGoal(TurtleEntity p_i48811_1_, double p_i48811_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanContinueToUse()booleancanUse()voidstart()voidstop()voidtick()-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
turtle
private final TurtleEntity turtle
-
speedModifier
private final double speedModifier
-
stuck
private boolean stuck
-
-
Constructor Detail
-
TravelGoal
TravelGoal(TurtleEntity p_i48811_1_, double p_i48811_2_)
-
-
Method Detail
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUsein classGoal
-
-