Package net.minecraft.entity.ai.goal
Class UseItemGoal<T extends MobEntity>
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.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_i50319_1_, ItemStack p_i50319_2_, SoundEvent p_i50319_3_, Predicate<? super T> p_i50319_4_) -
Method Summary
-
Field Details
-
mob
-
item
-
canUseSelector
-
finishUsingSound
-
-
Constructor Details
-
UseItemGoal
public UseItemGoal(T p_i50319_1_, ItemStack p_i50319_2_, @Nullable SoundEvent p_i50319_3_, Predicate<? super T> p_i50319_4_)
-
-
Method Details