跳到正文

EventMaker

作者:SemSemSem

Invisible triggers for packs — datapack/KubeJS commands, shared IDs, creative-only visibility.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Event Maker is a event-authoring toolkit for modpacks and adventure maps. Build invisible trigger networks, bind them to command polls, and execute effects at the player or at dedicated world locations.

It is designed for both solo story maps and multiplayer servers where reusable room templates, locality, and predictable behavior are critical.


Main functions

  • Event Trigger (cyan) — activates events when contacted.
  • Event Location (orange) — defines execution points for location-based command origin.
  • Dual-role Event Wand — switch Trigger/Location role with Alt + Mouse Wheel.
  • Range-scoped instances — same IDs can be reused in nearby rooms without cross-triggering.

Authoring flow

  1. Place Event Trigger blocks, or inject trigger IDs onto normal blocks.
  2. Optionally place Event Location blocks (or injected locations) with the same ID.
  3. Create a poll in data/<namespace>/command_poll/.
  4. Create an event in data/<namespace>/event_trigger/ and reference that poll via commands_poll.
  5. Choose command origin behavior with command_location and command_location_range.

Wand controls

  • Shift + Right Click: set the current event ID on the wand.
  • Alt + Mouse Wheel: toggle wand role (Trigger / Location).
  • Right Click: apply the role’s ID to marker block or inject onto arbitrary block.
  • Left Click (creative, injected marker): remove injected marker for the active role.

Datapack fields

Each event variation supports:

  • commands_poll (required)
  • activation: walk_through, touch, stepped_on
  • persistent: one-shot or repeatable
  • command_location: free or event_location
  • command_location_range: local scope radius (default 32)

free: command source is the triggering player.

event_location: command poll executes once per matching location marker in range, with source positioned above each location block.


Why range matters

If you duplicate a room layout and reuse the same IDs, range keeps each activation local. One-shot consumption and trigger cleanup apply to the local instance only, instead of affecting distant copies.


Survival behavior

  • Markers are invisible and untargetable in Survival (no crosshair highlight / Jade target info).
  • Creative builders still get colored wireframe overlays for editing.

常见问题

EventMaker 支持哪些 Minecraft 版本?

EventMaker 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

EventMaker 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

SemSemSem 的其他作品

查看全部 →