Package net.minecraft.entity.passive
Class TurtleEntity.WanderOnLandGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.passive.TurtleEntity.WanderOnLandGoal
- Enclosing class:
- TurtleEntity
static class TurtleEntity.WanderOnLandGoal extends WanderAroundGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields Modifier and Type Field Description private TurtleEntityturtleFields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ -
Constructor Summary
Constructors Modifier Constructor Description privateWanderOnLandGoal(TurtleEntity turtle, double speed, int chance) -
Method Summary
Modifier and Type Method Description booleancanStart()Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
getWanderTarget, ignoreChanceOnce, setChance, shouldContinue, start, stopMethods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
Field Details
-
turtle
-
-
Constructor Details
-
WanderOnLandGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStartin classWanderAroundGoal
-