public class SitGoal extends Goal
コンストラクタと説明 |
---|
SitGoal(TameableEntity entityIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
resetTask()
Reset the task's internal state.
|
void |
setSitting(boolean sitting)
Sets the sitting flag.
|
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 SitGoal(TameableEntity entityIn)
public boolean shouldContinueExecuting()
shouldContinueExecuting
クラス内 Goal
public boolean shouldExecute()
shouldExecute
クラス内 Goal
public void startExecuting()
startExecuting
クラス内 Goal
public void resetTask()
public void setSitting(boolean sitting)