public class UseItemGoal<T extends Mob>
extends Goal
cbx | |
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.HoldInHandsGoal | |
net.minecraft.src.C_731_ | |
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 |
|