Item Objectives
Track item acquisition, crafting, and enchanting.
Objective Library
Configuration
gather_objective
Requires the player to have a specific item in their inventory.
material — Material
The item type to collect (e.g. DIAMOND).
amount — Int
Total amount required.
craft_objective
Requires the player to craft items.
material — Material
The result item type (e.g. IRON_CHESTPLATE).
recipe — String
(Optional) Specific recipe ID to match.
amount — Int
Number of items to craft.
enchant_objective
Requires the player to enchant items.
enchantment — Enchantment
The specific enchantment (e.g. FORTUNE).
minLevel — Int
Minimum level required.
amount — Int
Number of times to enchant.
Examples
gather_objective:
material: DIAMOND
amount: 64
onComplete:
- message_action:
message: "<aqua>Rich!"
craft_objective:
material: IRON_CPICKAXE
amount: 1