Miscellaneous Events
Events that cover general interactions and system states.
Event Library
- Player Input — Triggers on key presses (WASD, Space, Shift).
- Advancement — Triggers when earning an advancement.
- Recipe Unlock — Triggers when learning a recipe.
- Elytra Glide — Triggers when starting to glide.
- Fact Check — Triggers when a tracked fact updates.
- Experience Orb — Triggers when collecting XP.
Configuration
player_input_event
Triggers when a player presses a specific control key.
inputType — PlayerInputType
The input to detect: FORWARD, BACKWARD, LEFT, RIGHT, JUMP, SNEAK, SPRINT.
advancement_grant_event
Triggers when a player completes an advancement.
advancement — String
The advancement ID (e.g., minecraft:story/mine_stone).
isChallenge — Boolean
If true, matches only challenge advancements.
experience_orb_pickup_event
Triggers when picking up an experience orb.
minExperience — Int
Minimum XP in the orb.
fact_check_events
Monitors variable changes in real-time.
fact — String
The fact to monitor (e.g. placeholder_fact).
value — String
The target value to check against.
recipe_unlock_event
Triggered when a player unlocks a recipe.
| Property | Value |
|---|---|
| Entry ID | recipe_unlock_event |
| Type | Event |
| Color | Yellow |
| Icon | mdi:book-plus |
| Field | Type | Description |
|---|---|---|
recipeKey | Var<String> | The recipe key that needs to be unlocked. Leave empty to trigger for any recipe. |
player_elytra_event
Triggers when entering gliding mode.
| Property | Value |
|---|---|
| Entry ID | player_elytra_event |
| Type | Event |
| Color | Yellow |
| Icon | mdi:parachute |
This entry has no configurable fields.
Examples
player_input_event:
inputType: JUMP
actions:
- velocity_action:
vector: "0, 1.0, 0"
experience_orb_pickup_event:
minExperience: 10
actions:
- sound_action:
sound: ENTITY_PLAYER_LEVELUP