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, tick
public 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 Goal
public boolean shouldContinueExecuting()
shouldContinueExecuting
in class Goal
public void startExecuting()
startExecuting
in class Goal