public class UseItemGoal<T extends Mob>
extends Goal
aqs | |
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_15_R1.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 |
|