net.minecraft.world.entity.ai.goal

public class UseItemGoal<T extends Mob>

extends Goal

cca
net.minecraft.world.entity.ai.goal.UseItemGoal
net.minecraft.class_3993
net.minecraft.unmapped.C_qeuqwfds
net.minecraft.entity.ai.goal.HoldInHandsGoal
net.minecraft.entity.ai.goal.HoldInHandsGoal
net.minecraft.src.C_731_
net.minecraft.world.entity.ai.goal.PathfinderGoalUseItem

Field summary

Modifier and TypeField
private final T
a
mob
field_17755
f_yjnajept
actor
actor
f_25967_
private final ItemStack
b
item
field_17756
f_evptydgr
item
item
f_25968_
private final Predicate<? super T>
c
canUseSelector
field_17757
f_lesyfrjj
condition
condition
f_25969_
private final SoundEvent
d
finishUsingSound
field_18280
f_egirihzg
sound
sound
f_25970_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
m_njsjilur()
canStart()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
m_trsyngvn()
shouldContinue()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
m_koalcxuy()
start()
start()
m_8056_()
public void
d()
stop()
method_6270()
m_vtbcctlg()
stop()
stop()
m_8041_()