Goal.Control
Modifier and Type | Field and Description |
---|---|
private T |
actor |
private Predicate<? super T> |
condition |
private ItemStack |
item |
private SoundEvent |
sound |
Constructor and Description |
---|
HoldInHandsGoal(T actor,
ItemStack item,
SoundEvent sound,
Predicate<? super T> condition) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
boolean |
shouldContinue() |
void |
start() |
void |
stop() |
canStop, getControls, setControls, tick, toString
private final ItemStack item
private final SoundEvent sound