| Constructor and Description |
|---|
UseItemGoal(T p_i50319_1_,
ItemStack p_i50319_2_,
SoundEvent p_i50319_3_,
java.util.function.Predicate<? super T> p_i50319_4_) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, setMutexFlags, tickpublic 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 in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic void startExecuting()
startExecuting in class Goal