public class RandomSwimmingGoal extends RandomWalkingGoal
creature, executionChance, mustUpdate, speed, x, y, z
Constructor and Description |
---|
RandomSwimmingGoal(CreatureEntity p_i48937_1_,
double p_i48937_2_,
int chance) |
Modifier and Type | Method and Description |
---|---|
protected Vec3d |
getPosition() |
makeUpdate, resetTask, setExecutionChance, shouldContinueExecuting, shouldExecute, startExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public RandomSwimmingGoal(CreatureEntity p_i48937_1_, double p_i48937_2_, int chance)
@Nullable protected Vec3d getPosition()
getPosition
in class RandomWalkingGoal