public class UseItemGoal<T extends Mob>
extends Goal
cdr | |
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 Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
private final T |
| ||||||||
private final ItemStack |
| ||||||||
private final Predicate<? super T> |
| ||||||||
private final SoundEvent |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (T actor, ItemStack item, SoundEvent sound, Predicate<? super T> condition) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public boolean |
| ||||||||
public boolean |
| ||||||||
public void |
| ||||||||
public void |
|