CakeDispenserBehavior

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
protected open override fun dispenseSilently(pointer: BlockPointer, stack: ItemStack): ItemStack
Link copied to clipboard
protected open override fun playSound(pointer: BlockPointer)

Inherited functions

Link copied to clipboard
protected open fun decrementStackWithRemainder(pointer: BlockPointer, stack: ItemStack, remainder: ItemStack): ItemStack
Link copied to clipboard
override fun dispense(arg: BlockPointer, arg2: ItemStack): ItemStack
Link copied to clipboard
protected open fun spawnParticles(pointer: BlockPointer, side: Direction)