Package net.minecraft.entity.passive
Class TurtleEntity.WanderGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.RandomWalkingGoal
-
- net.minecraft.entity.passive.TurtleEntity.WanderGoal
-
- Enclosing class:
- TurtleEntity
static class TurtleEntity.WanderGoal extends RandomWalkingGoal
-
-
Field Summary
Fields Modifier and Type Field Description private TurtleEntity
turtle
-
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
-
Constructor Summary
Constructors Modifier Constructor Description private
WanderGoal(TurtleEntity p_i48813_1_, double p_i48813_2_, int p_i48813_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
-
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, getPosition, setInterval, start, stop, trigger
-
-
-
-
Field Detail
-
turtle
private final TurtleEntity turtle
-
-
Constructor Detail
-
WanderGoal
private WanderGoal(TurtleEntity p_i48813_1_, double p_i48813_2_, int p_i48813_4_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classRandomWalkingGoal
-
-