Skip to content

Cancel Inventory Actions (Power Type)

Zac edited this page Nov 11, 2026 · 1 revision

Power Type


Prevents various actions related to modification of the inventory.

originscontent:cancel_inventory_actions

Fields

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.

Examples

{
  "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.

Clone this wiki locally