public class MoveThroughVillageGoal extends Goal
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected CreatureEntity |
entity |
| コンストラクタと説明 |
|---|
MoveThroughVillageGoal(CreatureEntity p_i50324_1_,
double speedIn,
boolean nocturnal,
int maxDistanceIn,
java.util.function.BooleanSupplier booleanSupplierIn) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
resetTask()
Reset the task's internal state.
|
boolean |
shouldContinueExecuting()
Returns whether an in-progress EntityAIBase should continue executing
|
boolean |
shouldExecute()
Returns whether execution should begin.
|
void |
startExecuting()
Execute a one shot task or start executing a continuous task
|
getMutexFlags, isPreemptible, setMutexFlags, tick, toStringprotected final CreatureEntity entity
public MoveThroughVillageGoal(CreatureEntity p_i50324_1_, double speedIn, boolean nocturnal, int maxDistanceIn, java.util.function.BooleanSupplier booleanSupplierIn)
public boolean shouldExecute()
shouldExecute クラス内 Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting クラス内 Goalpublic void startExecuting()
startExecuting クラス内 Goal