Repository navigation
Conditional Choice (Meta Action Type)
Zac edited this page Nov 11, 2026
·
1 revision
An extension of the Choice Meta Action with conditions for each option, first filtering non-matching conditions and then picking from the filtered list.
originscontent:conditional_choice
| Field | Type | Default | Description |
|---|---|---|---|
actions |
Array of Objects | Each object has to have an element Action, a weight Integer, and a condition Condition. The condition and weight do not have to be specified. |
too lazy to write an example sorry
- Action on Reeling
- Action on Thunder
- Cancel Inventory Actions
- Cancel Totems
- Disable Offhand
- Modify Minimum Sprinting Hunger
- Override Hotbar
- Prevent Chat
- Prevent Diving
- Reflect Damage
- Ticking Entity
- Action as Nearest
- Crash
- Dive
- Emerge
- Display Toast
- Open Steam Game
- Positioned Screenshake
- Screenshake
- Set Black Rain Duration
- Trigger Thunder
- Discombobulate