net.minecraft.world.entity.ai.goal

public class UseItemGoal<T extends Mob>

extends Goal

cgz
net.minecraft.world.entity.ai.goal.UseItemGoal
net.minecraft.class_3993

Field summary

Modifier and TypeField
private final T
a
mob
field_17755
private final ItemStack
b
item
field_17756
private final Predicate<? super T>
c
canUseSelector
field_17757
private final SoundEvent
d
finishUsingSound
field_18280

Constructor summary

ModifierConstructor
public (T arg0, ItemStack arg1, SoundEvent arg2, Predicate<? super T> arg3)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
public boolean
c()
canContinueToUse()
method_6266()
public void
d()
start()
method_6269()
public void
e()
stop()
method_6270()