public class UseItemGoal<T extends Mob>
extends Goal
axf | |
net.minecraft.world.entity.ai.goal.UseItemGoal | |
net.minecraft.class_3993 | |
net.minecraft.unmapped.C_qeuqwfds | |
net.minecraft.entity.ai.goal.HoldInHandsGoal | |
net.minecraft.entity.ai.goal.UseItemGoal | |
net.minecraft.server.v1_16_R2.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 |
|