Repository navigation
Cancel Inventory Actions (Power Type)
Zac edited this page Nov 11, 2026
·
1 revision
Prevents various actions related to modification of the inventory.
originscontent:cancel_inventory_actions
| Field | Type | Default | Description |
|---|---|---|---|
change_hotbar_slot |
Boolean | true |
Whether or not to disable changing the selected hotbar slot. |
move_item_in_gui |
Boolean | true |
Whether or not to disable moving items in GUIs, including chests, other blocks, and the player inventory. |
drop_items |
Boolean | true |
Whether or not to disable dropping items in any way. |
pickup_items |
Boolean | true |
Whether or not to disable picking up dropped item entities. |
pick_block |
Boolean | true |
Whether or not to disable use of the Pick Block key. |
{
"type": "originscontent:cancel_inventory_actions",
"pick_block": false,
"drop_items": false,
"pickup_items": false,
"change_hotbar_slot": false
}This example essentially allows you to switch hotbar slots, use pick block, and drop / pickup items.
- 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