Skip to main content

Prevent Item Use (Power Type)

Stops the player from using items with a right-click, such as eating food or raising a shield. Placing an item as a block still works.

Type ID: apoli:prevent_item_use

Fields

FieldTypeDefaultDescription
item_conditionItem Condition TypeoptionalIf set, only items that pass this condition are blocked.

Examples

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

This stops the player from eating any food.