public abstract class FallibleItemDispenserBehavior extends ItemDispenserBehavior
Modifier and Type | Field and Description |
---|---|
private boolean |
success |
NOOP
Constructor and Description |
---|
FallibleItemDispenserBehavior() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSuccess() |
protected void |
playSound(BlockPointer pointer) |
void |
setSuccess(boolean success) |
dispense, dispenseSilently, spawnItem, spawnParticles
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_27042, registerDefaults
public boolean isSuccess()
public void setSuccess(boolean success)
protected void playSound(BlockPointer pointer)
playSound
in class ItemDispenserBehavior