Miscellaneous Objectives
A collection of specific interaction objectives.
Objective Library
- Station Work — Anvil, grindstone, brewing, campfire, stonecutter, smithing, loom, cartography.
- Container Use — Barrels, cauldrons, composters.
- Lectern — Place, take, and turn pages.
- Item Frame — Place, remove, and rotate.
- Jukebox — Play and stop music discs.
- Trade — Villager and piglin trading.
- Combat — Block, shoot, reload, recall.
- System — Advancements, experience, recipes, facts.
Standard Fields
Objective entries share the fields below, inherited from the objective system.
| Field | Type | Description |
|---|---|---|
amount | Var<Int> | Number of times the action must be performed. |
display | Var<String> | Text shown to the player while the objective is active. |
fact | Ref<CachableFactEntry> | Fact used to store progress. |
onComplete | Ref<TriggerableEntry> | Entry triggered once the objective completes. |
priorityOverride | Optional<Int> | Overrides the display priority among active objectives. |
Station Work
| Entry ID | Description |
|---|---|
anvil_repair_objective | Repair items using an anvil. |
grindstone_repair_objective | Repair items using a grindstone. |
brewing_stand_brew_objective | Brew potions using a brewing stand. |
campfire_cook_objective | Cook food on campfires. |
campfire_extinguish_objective | Extinguish campfires. |
on_stonecutter_cut_objective | Cut items using a stonecutter. |
smithing_table_upgrade_objective | Upgrade items using a smithing table. |
loom_banner_pattern_apply_objective | Apply banner patterns using a loom. |
cartography_map_copy_objective | Copy maps using a cartography table. |
on_enchant_objective | Enchant items at an enchanting table. |
Container Use
| Entry ID | Description |
|---|---|
barrel_objective | Interact with barrels. |
barrel_open_objective | Open barrels. |
barrel_close_objective | Close barrels. |
cauldron_objective | Interact with cauldrons. |
cauldron_fill_objective | Fill cauldrons. |
cauldron_empty_objective | Empty cauldrons. |
compost_objective | Add items to a composter. |
Lectern
| Entry ID | Description |
|---|---|
lectern_objective | Interact with lecterns. |
lectern_place_book_objective | Place books on lecterns. |
lectern_take_book_objective | Take books from lecterns. |
lectern_page_turn_objective | Turn pages on lecterns. |
Item Frame
| Entry ID | Description |
|---|---|
item_frame_objective | Interact with item frames. |
item_frame_place_objective | Place item frames. |
item_frame_remove_objective | Remove item frames. |
item_frame_rotate_objective | Rotate items in item frames. |
Jukebox
| Entry ID | Description |
|---|---|
jukebox_play_objective | Play music discs in jukeboxes. |
jukebox_stop_objective | Stop music in jukeboxes. |
Trading
| Entry ID | Description |
|---|---|
villager_trade_objective | Trade with villagers. |
piglin_barter_objective | Barter with piglins. |
Combat
| Entry ID | Description |
|---|---|
shield_block_objective | Block damage with a shield. |
crossbow_reload_objective | Reload crossbows. |
projectile_hit_objective | Hit targets with projectiles. |
target_hit_objective | Hit target blocks. |
trident_throw_objective | Throw tridents. |
trident_recall_objective | Recall tridents with loyalty. |
arrow_recover_objective | Recover fired arrows. |
on_totem_used_objective | Use a totem of undying. |
System & Progression
| Entry ID | Description |
|---|---|
advancement_grant_objective | Complete advancements. |
experience_orb_pickup_objective | Pick up experience orbs. |
xp_gain_objective | Gain experience points. |
level_reach_objective | Reach an experience level. |
statistic_reach_objective | Reach a statistic threshold. |
recipe_objective | Discover recipes. |
recipe_unlock_objective | Unlock recipes. |
recipe_revoke_objective | Revoke recipes. |
player_input_objective | Perform specific player inputs. |
cachable_fact_check_objective | Validate against a numeric fact value. |
readable_fact_check_objective | Validate against a readable fact value. |
Example
brewing_stand_brew_objective:
amount: 50
display: "Brew <amount> potions"
onComplete: "reward_master_brewer"