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
override fun dispense(blockPointer: BlockPointer, itemStack: ItemStack): ItemStack
Link copied to clipboard
protected open fun spawnParticles(pointer: BlockPointer, side: Direction)