CakeDispenserBehavior

Dispenser behavior, which throws cakes, if throwableCakes game rule is enabled.

Constructors

Functions

Link copied to clipboard
protected ItemStack dispenseSilently(BlockPointer pointer, ItemStack stack)
Link copied to clipboard
protected Unit playSound(BlockPointer pointer)

Inherited functions

Link copied to clipboard
protected ItemStack decrementStackWithRemainder(BlockPointer pointer, ItemStack stack, ItemStack remainder)
Link copied to clipboard
public final ItemStack dispense(BlockPointer arg, ItemStack arg2)
Link copied to clipboard
protected Unit spawnParticles(BlockPointer pointer, Direction side)