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, toStringpublic SitGoal(TameableEntity entityIn)
public boolean shouldContinueExecuting()
shouldContinueExecuting クラス内 Goalpublic boolean shouldExecute()
shouldExecute クラス内 Goalpublic void startExecuting()
startExecuting クラス内 Goalpublic void resetTask()
public void setSitting(boolean sitting)