TriggerType

Canonical trigger-type strings accepted by register(type, cb), grouped as in the brief.

Each constant is the exact string a script passes. CANCELLABLE lists the types whose callback receives a cancellable event as its final argument; CHAT_LIKE lists the types that honour .setCriteria() / .setContains() / ... pattern matching.

Properties

Link copied to clipboard
const val ACTION_BAR: String
Link copied to clipboard
val ALL: Set<String>

Every known trigger type string — used for convention-based auto-registration.

Link copied to clipboard
const val BLOCK_BREAK: String
Link copied to clipboard
Link copied to clipboard

Types whose JS callback receives a cancellable event object as its final argument.

Link copied to clipboard
const val CHAT: String
Link copied to clipboard

Types that honour .setCriteria() and the match-mode setters.

Link copied to clipboard
const val COMMAND: String
Link copied to clipboard
const val DROP_ITEM: String
Link copied to clipboard
Link copied to clipboard
const val ENTITY_DEATH: String
Link copied to clipboard
const val GAME_LOAD: String
Link copied to clipboard
const val GAME_TICK: String
Link copied to clipboard
const val GUI_CLOSE: String
Link copied to clipboard
Link copied to clipboard
const val GUI_KEY: String
Link copied to clipboard
Link copied to clipboard
const val GUI_OPEN: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val KEY_DOWN: String
Link copied to clipboard
const val KEY_UP: String
Link copied to clipboard
const val MESSAGE_SENT: String
Link copied to clipboard
const val MOUSE_CLICK: String
Link copied to clipboard
const val MOUSE_MOVE: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val PACKET_SENT: String
Link copied to clipboard
const val PICKUP_ITEM: String
Link copied to clipboard
const val PLAYER_JOIN: String
Link copied to clipboard
const val PLAYER_LEAVE: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val RENDER_AIR: String
Link copied to clipboard
const val RENDER_ARMOR: String
Link copied to clipboard
Link copied to clipboard
const val RENDER_CHAT: String
Link copied to clipboard
Link copied to clipboard
const val RENDER_DEBUG: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val RENDER_FOOD: String
Link copied to clipboard
const val RENDER_HAND: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val RENDER_TITLE: String
Link copied to clipboard
const val RENDER_WORLD: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val SLOT_CLICK: String
Link copied to clipboard
const val SOUND_PLAY: String
Link copied to clipboard
Link copied to clipboard
const val STEP: String
Link copied to clipboard
const val TICK: String
Link copied to clipboard

Events that have a live source hook in this build (Fabric event, mixin, or engine pump) and so actually fire. Registering any other ALL type is accepted but warns, since its callback would never run — input (keyDown/mouse*) and per-element HUD renders aren't hookable on this MC version (reworked input + layered HUD); the rest are added incrementally.

Link copied to clipboard
const val WORLD_LOAD: String
Link copied to clipboard
const val WORLD_UNLOAD: String

Functions

Link copied to clipboard
Link copied to clipboard

A known event type that currently has no source hook (registrable, but won't fire).