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, spawnParticlesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmethod_27042, registerDefaultspublic boolean isSuccess()
public void setSuccess(boolean success)
protected void playSound(BlockPointer pointer)
playSound in class ItemDispenserBehavior