Repository navigation
Objective Types
Uses the player's stats to track progress.
Additional definition fields:
-
stat: The stat to track. See below for a list of valid stats. -
trackSinceStart(optional, default: true):
If true, the stat's value will be tracked since the creation of the quest.
If false, the stat's value will be the player's total stat value.
List of stats
minecraft:leave_gameminecraft:play_timeminecraft:total_world_timeminecraft:time_since_deathminecraft:time_since_restminecraft:sneak_timeminecraft:walk_one_cmminecraft:crouch_one_cmminecraft:sprint_one_cmminecraft:walk_on_water_one_cmminecraft:fall_one_cmminecraft:climb_one_cmminecraft:fly_one_cmminecraft:walk_under_water_one_cmminecraft:minecart_one_cmminecraft:boat_one_cmminecraft:pig_one_cmminecraft:horse_one_cmminecraft:aviate_one_cmminecraft:swim_one_cmminecraft:strider_one_cmminecraft:jumpminecraft:dropminecraft:damage_dealtminecraft:damage_dealt_absorbedminecraft:damage_dealt_resistedminecraft:damage_takenminecraft:damage_blocked_by_shieldminecraft:damage_absorbedminecraft:damage_resistedminecraft:deathsminecraft:mob_killsminecraft:animals_bredminecraft:player_killsminecraft:fish_caughtminecraft:talked_to_villagerminecraft:traded_with_villagerminecraft:eat_cake_sliceminecraft:fill_cauldronminecraft:use_cauldronminecraft:clean_armorminecraft:clean_bannerminecraft:clean_shulker_boxminecraft:interact_with_brewingstandminecraft:interact_with_beaconminecraft:inspect_dropperminecraft:inspect_hopperminecraft:inspect_dispenserminecraft:play_noteblockminecraft:tune_noteblockminecraft:pot_flowerminecraft:trigger_trapped_chestminecraft:open_enderchestminecraft:enchant_itemminecraft:play_recordminecraft:interact_with_furnaceminecraft:interact_with_crafting_tableminecraft:open_chestminecraft:sleep_in_bedminecraft:open_shulker_boxminecraft:open_barrelminecraft:interact_with_blast_furnaceminecraft:interact_with_smokerminecraft:interact_with_lecternminecraft:interact_with_campfireminecraft:interact_with_cartography_tableminecraft:interact_with_loomminecraft:interact_with_stonecutterminecraft:bell_ringminecraft:raid_triggerminecraft:raid_winminecraft:interact_with_anvilminecraft:interact_with_grindstoneminecraft:target_hitminecraft:interact_with_smithing_table
Tracks the number of blocks mined by the player.
Additional definition fields:
-
block: The block to track. May be the block itself or a tag prefixed with#.
Tracks the number of blocks placed by the player.
Additional definition fields:
-
block: The block to track. May be the block itself or a tag prefixed with#.
Tracks the number of times the player breeds entities.
Additional definition fields:
-
entity: The entity to track.
Tracks the number of times the player dies to a specific entity.
Additional definition fields:
-
entity: The entity to track.
Tracks the number of a specific type of entity the player kills.
Additional definition fields:
-
entity: The entity to track.
Tracks the number of a specific item the player crafts.
Additional definition fields:
-
item: The item to track. May be the item itself or a tag prefixed with#.
Tracks the number of a specific item the player drops.
Additional definition fields:
-
item: The item to track. May be the item itself or a tag prefixed with#.
Tracks the number of times the player equips a specific item.
Additional definition fields:
-
item: The item to track. May be the item itself or a tag prefixed with#. -
slot: The equipment slot to track.
Tracks the number of a specific item the player obtains.
Additional definition fields:
-
item: The item to track. May be the item itself or a tag prefixed with#.
Tracks the number of a specific item the player picks up.
Additional definition fields:
-
item: The item to track. May be the item itself or a tag prefixed with#.
Tracks the number of times the player uses a specific item.
Additional definition fields:
-
item: The item to track. May be the item itself or a tag prefixed with#.
Tracks the number of times the player visits a specific biome.
Additional definition fields:
-
biome: The biome to track.
Tracks the number of times the player visits a specific dimension.
Additional definition fields:
-
dimension: The dimension to track.
Tracks the number of times the player visits a specific position.
Additional definition fields:
-
bounds: The bounding box of the position to track. Contains the following fields (all optional, default to extrema):-
bounds.minX: The minimum X coordinate of the bounding box. -
bounds.minY: The minimum Y coordinate of the bounding box. -
bounds.minZ: The minimum Z coordinate of the bounding box. -
bounds.maxX: The maximum X coordinate of the bounding box. -
bounds.maxY: The maximum Y coordinate of the bounding box. -
bounds.maxZ: The maximum Z coordinate of the bounding box.
-
Tracks the number of times the player tramples farmland.
Tracks the number of times the player enchants an item with a specific enchantment.
Additional definition fields:
-
enchantment(optional): The enchantment to track. -
level(optional, defaults to 1): The level of the enchantment to track. -
item(optional): The item to track.
If enchantment is not specified, the stat will track any enchantment.
If item is not specified, the stat will track any item.
If level is not specified, the stat will track any level.
If nothing is specified, the quest type will track any enchantment event.
Tracks the number of times the player gains a specific effect.
Additional definition fields:
-
effect: The effect to track.