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 TurtleEntity
turtle
Fields inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
chance, ignoringChance, mob, speed, targetX, targetY, targetZ
-
Constructor Summary
Constructors Modifier Constructor Description private
WanderOnLandGoal(TurtleEntity turtle, double speed, int chance)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
Methods inherited from class net.minecraft.entity.ai.goal.WanderAroundGoal
getWanderTarget, ignoreChanceOnce, setChance, shouldContinue, start, stop
Methods 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:
canStart
in classWanderAroundGoal
-