Package net.minecraft.entity.mob
Class DrownedEntity.WanderAroundOnSurfaceGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.mob.DrownedEntity.WanderAroundOnSurfaceGoal
- Enclosing class:
- DrownedEntity
static class DrownedEntity.WanderAroundOnSurfaceGoal extends Goal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WanderAroundOnSurfaceGoal(PathAwareEntity mob, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
private Vec3d
getWanderTarget()
boolean
shouldContinue()
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, stop, tick, toString
-
Field Details
-
mob
-
x
private double x -
y
private double y -
z
private double z -
speed
private final double speed -
world
-
-
Constructor Details
-
WanderAroundOnSurfaceGoal
-
-
Method Details