OBSIDREL / DOCS

Documentation

Guides, tutorials and technical references for the Obsidrel ecosystem.

DocumentationTriggers: connect content to gameplay events

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.

FieldPurpose
enabledEnabled by default
event / typeTrigger Engine event
targetResource ID or * when supported
item-trigger / interactionITEM_USE click / interaction
permissionRequired permission
conditions / conditionCondition references
failure-messageDenial feedback
cancel-eventSupported event cancellation
actions / actionActions invoked
loot / loot-tables / loot-tableLoot references
drop-modeADDITIVE (default) / REPLACE

Real Showcase block integration

yaml
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.

Actions and Conditions · Blocks · Loot.

Was this article helpful?Loading ratings…

Help us improve Obsidrel documentation. One vote per account and article. Discord AI feedback can also contribute when the answer cites this article.