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, toString
public MoveTowardsTargetGoal(CreatureEntity creature, double speedIn, float targetMaxDistance)
public boolean shouldExecute()
shouldExecute
クラス内 Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
クラス内 Goal
public void resetTask()
public void startExecuting()
startExecuting
クラス内 Goal