Consume Item
9/13/25Less than 1 minuteVanilla
Consume Item
This unlocker will trigger when a player consumes an item (food, potions, etc).
id
consume item
Condition
item
- Type:
string - Default:
none - Description: Item description, standard format:
namespace:id, if namespace is not specified, defaults tominecraft, pointing to vanilla items, id must be lowercase.
Other available namespaces:zaphkielpoints to zaphkiel plugin items.mmoitemspoints to MMOItems plugin items.mythicmobspoints to MythicMobs plugin items.
Examples:zaphkiel:example_potionpoints to zaphkiel plugin'sexample_potionitem.mmoitems:healing_potionpoints to MMOItems plugin'shealing_potionitem.mythicmobs:magic_foodpoints to MythicMobs plugin'smagic_fooditem.
position Optional
- Type:
string - Default:
none - Description: Position restriction where the consumption must occur.
Example
unlock:
- type: "consume item"
condition:
item: "golden_apple"
goal:
amount: 5