toggle menu
Staff Mod
0.17.0
jvm
switch theme
search in API
Staff Mod
/
opekope2.avm_staff.api.block.dispenser
/
CakeDispenserBehavior
Cake
Dispenser
Behavior
class
CakeDispenserBehavior
:
ItemDispenserBehavior
(
source
)
Dispenser behavior, which throws
cakes
, if
throwableCakes
game rule is enabled.
Members
Constructors
Cake
Dispenser
Behavior
Link copied to clipboard
constructor
(
)
Functions
dispense
Silently
Link copied to clipboard
protected
open
override
fun
dispenseSilently
(
pointer
:
BlockPointer
,
stack
:
ItemStack
)
:
ItemStack
play
Sound
Link copied to clipboard
protected
open
override
fun
playSound
(
pointer
:
BlockPointer
)
Inherited functions
dispense
Link copied to clipboard
override
fun
dispense
(
blockPointer
:
BlockPointer
,
itemStack
:
ItemStack
)
:
ItemStack
spawn
Particles
Link copied to clipboard
protected
open
fun
spawnParticles
(
pointer
:
BlockPointer
,
side
:
Direction
)