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).

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: apoli:prevent_item_use

Fields

FieldTypeDefaultDescription
item_conditionItem Condition TypeoptionalIf specified, only items that fulfills this condition will be prevented from being used.

Examples

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

This example will prevent the player from eating any food items.