| コンストラクタと説明 |
|---|
UseItemGoal(T p_i50319_1_,
ItemStack p_i50319_2_,
SoundEvent p_i50319_3_,
java.util.function.Predicate<? super T> p_i50319_4_) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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 UseItemGoal(T p_i50319_1_, ItemStack p_i50319_2_, @Nullable SoundEvent p_i50319_3_, java.util.function.Predicate<? super T> p_i50319_4_)
public boolean shouldExecute()
shouldExecute クラス内 Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting クラス内 Goalpublic void startExecuting()
startExecuting クラス内 Goal