public class WaterAvoidingRandomWalkingGoal extends RandomWalkingGoal
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected float |
probability |
creature, executionChance, mustUpdate, speed, x, y, z| コンストラクタと説明 |
|---|
WaterAvoidingRandomWalkingGoal(CreatureEntity creature,
double speedIn) |
WaterAvoidingRandomWalkingGoal(CreatureEntity creature,
double speedIn,
float probabilityIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 クラス内 RandomWalkingGoal