Skip to main content

Module button_block

Module button_block 

Source
Expand description

Button block behavior.

Buttons are face-attached blocks that emit a redstone signal when pressed. They automatically unpress after a delay via the scheduled tick system.

Vanilla equivalent: ButtonBlock + FaceAttachedHorizontalDirectionalBlock.

Structsยง

ButtonBlock
Behavior for all button block variants.