メインコンテンツまでスキップ

Item Objectives

Track item acquisition, crafting, and enchanting.

Objective Library

  • Gather — Collect specific items.
    • Craft — Craft items in recipes.
    • Enchant — Enchant gear.

Configuration

gather_objective

Requires the player to have a specific item in their inventory. materialMaterial

The item type to collect (e.g. DIAMOND). amountInt

Total amount required.

craft_objective

Requires the player to craft items. materialMaterial

The result item type (e.g. IRON_CHESTPLATE). recipeString

(Optional) Specific recipe ID to match. amountInt

Number of items to craft.

enchant_objective

Requires the player to enchant items. enchantmentEnchantment

The specific enchantment (e.g. FORTUNE). minLevelInt

Minimum level required. amountInt

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