Prevent Item Use

Power Type.

Prevents the player from using items (right-click action such as eating food or using a shield, placing them as blocks will still work).

Type ID: origins:prevent_item_use

Fields

Field Type Default Description
item_condition Item Condition optional If set, only items which satisfy this condition will be blocked from being used.

Example

{
    "type": "origins:prevent_item_use",
    "item_condition": {
        "type": "origins:food"
    }
}

This power prevents the player from eating any food.