net.minecraft.world.entity.ai.goal

public class UseItemGoal<T extends Mob>

extends Goal

bmj
net.minecraft.world.entity.ai.goal.UseItemGoal
net.minecraft.class_3993
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
actor
f_25967_
private final ItemStack
b
item
field_17756
item
f_25968_
private final Predicate<? super T>
c
canUseSelector
field_17757
condition
f_25969_
private final SoundEvent
d
finishUsingSound
field_18280
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()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()