Blocks/Furnitures events

Add special behaviour on your blocks/furnitures based on some events

Using these 2 special events you can create machines that execute command, play sounds/particles on right click or shift right click

events:
    right_click_placed:
        play_sound: knife
        play_particle: CRIT_MAGIC
        play_effect: SMOKE
        execute_command:
            as_console: true
            #{player} will be automatically replaced with player name
            command: 'heal {player}'
        reduce_durability: 1
        # ....
    shift_right_click_placed:
        play_sound: knife
        play_particle: CRIT_MAGIC
        # ....

Last updated