net.minecraft.world.entity.ai.goal

public class UseItemGoal<T extends Mob>

extends Goal

cep
net.minecraft.world.entity.ai.goal.UseItemGoal
net.minecraft.class_3993
net.minecraft.entity.ai.goal.HoldInHandsGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalUseItem

Field summary

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

Constructor summary

ModifierConstructor
public (T actor, ItemStack item, SoundEvent sound, Predicate<? super T> condition)

Method summary

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