public class HoldInHandsGoal<T extends MobEntity>
extends Goal
| net.minecraft.world.entity.ai.goal.UseItemGoal | |
| net.minecraft.class_3993 | |
| net.minecraft.entity.ai.goal.HoldInHandsGoal |
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 |
|