public class WaterAvoidingRandomWalkingGoal extends RandomWalkingGoal
Modifier and Type | Field and Description |
---|---|
protected float |
probability |
creature, executionChance, mustUpdate, speed, x, y, z
Constructor and Description |
---|
WaterAvoidingRandomWalkingGoal(CreatureEntity creature,
double speedIn) |
WaterAvoidingRandomWalkingGoal(CreatureEntity creature,
double speedIn,
float probabilityIn) |
Modifier and Type | Method and Description |
---|---|
protected Vec3d |
getPosition() |
makeUpdate, resetTask, setExecutionChance, shouldContinueExecuting, shouldExecute, startExecuting
getMutexFlags, isPreemptible, setMutexFlags, tick, toString
public WaterAvoidingRandomWalkingGoal(CreatureEntity creature, double speedIn)
public WaterAvoidingRandomWalkingGoal(CreatureEntity creature, double speedIn, float probabilityIn)
@Nullable protected Vec3d getPosition()
getPosition
in class RandomWalkingGoal