Class UseItemGoal<T extends Mob>
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.UseItemGoal<T>
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final SoundEvent
private final ItemStack
private final T
-
Constructor Summary
ConstructorDescriptionUseItemGoal
(T p_25972_, ItemStack p_25973_, SoundEvent p_25974_, Predicate<? super T> p_25975_) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Field Details
-
mob
-
item
-
canUseSelector
-
finishUsingSound
-
-
Constructor Details
-
UseItemGoal
public UseItemGoal(T p_25972_, ItemStack p_25973_, @Nullable SoundEvent p_25974_, Predicate<? super T> p_25975_)
-
-
Method Details