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, startExecutinggetMutexFlags, isPreemptible, setMutexFlags, tick, toStringpublic WaterAvoidingRandomWalkingGoal(CreatureEntity creature, double speedIn)
public WaterAvoidingRandomWalkingGoal(CreatureEntity creature, double speedIn, float probabilityIn)
@Nullable protected Vec3d getPosition()
getPosition in class RandomWalkingGoal