Triggers: connect content to gameplay events
Triggers in resources/triggers/ observe events and invoke Actions subject to optional Conditions. They do not create their target resources.
| Field | Purpose |
|---|---|
enabled | Enabled by default |
event / type | Trigger Engine event |
target | Resource ID or * when supported |
item-trigger / interaction | ITEM_USE click / interaction |
permission | Required permission |
conditions / condition | Condition references |
failure-message | Denial feedback |
cancel-event | Supported event cancellation |
actions / action | Actions invoked |
loot / loot-tables / loot-table | Loot references |
drop-mode | ADDITIVE (default) / REPLACE |
Real Showcase block integration
crystal_break:
enabled: true
event: BLOCK_BREAK
target: obsidrel:showcase_crystal_ore
conditions: [showcase_alive]
actions: [showcase_mechanics_pulse]
cancel-event: false
showcase_alive, showcase_mechanics_pulse, and the target block ship with Showcase. Test with all definitions installed. REPLACE changes supported default drops, so verify Silk Touch and duplicate drops before production.