SemethWikiSearch
Adventure Engine logoAdventure EngineBassSanctum logoBassSanctumCataclysm DeDust logoCataclysm DeDustEpicQuest Dungeoning logoEpicQuest DungeoningEpicQuest Hub logoEpicQuest HubEventMaker logoEventMakerLeylines logoLeylinesSpell Codex logoSpell CodexSpell Codex Ars Compat logoSpell Codex Ars CompatSpellActionbar logoSpellActionbarStructure Encyclopedia logoStructure EncyclopediaTikFiniTok logoTikFiniTokSC Final Adventure logoSC Final AdventureSC Final Adventure - Arcana logoSC Final Adventure - ArcanaSC Final Adventure - Machines logoSC Final Adventure - MachinesSC Final Adventure - Mechanical Genesis logoSC Final Adventure - Mechanical GenesisUpdatesAbout

EventMaker

Datapack events

An event file is small. It needs a commands_poll. Everything else is flavor.

  • activation: walk_through, touch, stepped_on
  • persistent: one-shot or it can fire again
  • command_location: free (the player) or event_location (your orange markers)
  • command_location_range: how far to look for those markers (default 32)

free is “run this as the player who tripped it.” Good for a tellraw, a title, giving an item.

event_location is “run this once per matching orange marker in range, standing on that block.” Good for filling a cauldron, opening a door two blocks away, summoning a mob in the pit, not on the player’s head.

If you stamp the same corridor six times and reuse the ids, range keeps each copy local. A one-shot in room A does not eat room B.

A first event people actually ship: walk through a tripwire-looking air block, play a sound, setblock a barrier out of the way. Poll has one command. Event is walk_through, one-shot, free or event_location depending on where the door sits.