public class MoveTowardsTargetGoal extends Goal
| コンストラクタと説明 |
|---|
MoveTowardsTargetGoal(CreatureEntity creature,
double speedIn,
float targetMaxDistance) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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, toStringpublic MoveTowardsTargetGoal(CreatureEntity creature, double speedIn, float targetMaxDistance)
public boolean shouldExecute()
shouldExecute クラス内 Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting クラス内 Goalpublic void resetTask()
public void startExecuting()
startExecuting クラス内 Goal