net.minecraft.world.entity.ai.goal

public class UseItemGoal<T extends Mob>

extends Goal

aoq
net.minecraft.world.entity.ai.goal.UseItemGoal
net.minecraft.class_3993
net.minecraft.entity.ai.goal.HoldInHandsGoal
net.minecraft.entity.ai.goal.UseItemGoal
net.minecraft.server.v1_14_R1.PathfinderGoalUseItem

Field summary

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

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()
func_75250_a()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
d()
stop()
method_6270()
stop()
func_75251_c()