public class ItemDispenserBehavior extends Object implements DispenserBehavior
NOOP
Constructor and Description |
---|
ItemDispenserBehavior() |
Modifier and Type | Method and Description |
---|---|
ItemStack |
dispense(BlockPointer pointer,
ItemStack stack) |
protected ItemStack |
dispenseSilently(BlockPointer pointer,
ItemStack stack) |
protected void |
playSound(BlockPointer pointer) |
static void |
spawnItem(World world,
ItemStack stack,
int offset,
Direction side,
Position pos) |
protected void |
spawnParticles(BlockPointer pointer,
Direction side) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
method_27042, registerDefaults
public final ItemStack dispense(BlockPointer pointer, ItemStack stack)
dispense
in interface DispenserBehavior
protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
public static void spawnItem(World world, ItemStack stack, int offset, Direction side, Position pos)
protected void playSound(BlockPointer pointer)
protected void spawnParticles(BlockPointer pointer, Direction side)