The creator

Goals: what players have to do

Every advancement has at least one goal: the thing a player does to earn it.

Kinds of goals

Click a goal's Change to pick its kind. They're grouped:

  • Totals and challenges: reach a total (jumps, distance, time, experience and more), survive a night or a day, complete other advancements, reach an experience level, play for a while. See below.
  • Items: have items in your inventory, collect a set of items over time, craft, eat or drink, use an item, use it on a block, wear armour, have an enchanted item, enchant, brew, trim armour, fish.
  • Blocks: place or break blocks, build a beacon.
  • Mobs: kill, be killed by, hurt or be hurt by, interact with, hit with a projectile, tame, breed, leash, summon (golems, the Wither, the dragon), trade with villagers, barter with piglins.
  • Exploring: visit a biome, height or dimension, find a structure, ride something, ride a distance, have potion effects (at a level, like Speed II), sleep in a bed.
  • Commands and map making: a tag, a scoreboard score, or only when your commands say so. See Map making.

The trigger reference lists every kind with all its options.

Structures: the ones BedrockAdvancements' own advancements use (strongholds, fortresses, end cities and so on) work in every edition. The rest, like villages, outposts and abandoned camps, and structures from your own add-ons, are listed under Beta edition only: only the Beta edition detects them, and exporting warns you when a goal uses one.

The goal picker: the popular kinds of goal, then every kind by group, with a search box
Click Change on a goal: search, or pick from the popular ones and the groups.

Some goals and options need a recent BedrockAdvancements in the player's world: totals, challenges, where and when, and different ones over time need 2.0.7 or later; enchanted items, bare-handed kills and distances need 2.0.10; baby or adult, named, riding, most kinds of mob, bartering and effect levels need 2.0.11; spyglass mob details, how many of each, effects held for a while and custom frames need 2.0.12; certain potions, in-game time, and different ones over time on enchantments, effects, rides and most mob goals need 2.0.16; all at the same time, mobs wearing or holding something, mobs nearby, being under water, allay deliveries and named items need 2.0.20; one piece of armour in any slot, a mob wearing a full set, spyglass distances, distance from a spot or the middle of the world, surviving with sleep allowed, and kills with TNT or an end crystal, need 2.0.21. Make sure your players have a recent version.

Ids: items, blocks and mobs

Fields like Item or Mob take Minecraft ids. Click in the box or start typing: a list of matches opens underneath, each with its icon. Tick the ones you want, or Tick all to add every match at once: type sapling and tick all nine saplings in one go. Ones already in the list aren't offered again, and unticking one takes it back out. Several ids mean any of them counts.

Typing shovel in an item field: the matching shovels with tick boxes, and Tick all 5 matches
(1) Tick every match at once, or (2) tick the ones you want: each becomes a chip straight away.

The suggestions fit the goal: Ride something only suggests what a player can ride, Tame an animal what can be tamed, Eat or drink food and drinks, Craft an item what a recipe makes, Wear armour what goes in each slot, and so on. Mobs and items from your own add-ons are sorted the same way, from their files: a mob you can ride shows under Ride, a food under Eat or drink. These are only suggestions: you can still type any id. You can also use:

  • A tag, like #minecraft:logs, for any log.
  • A mob family, like family:monster, for any monster.
  • Your own add-on's ids, like my_addon:ruby, once you've added it under Your add-ons.
  • One of your own groups, like @my_ores.

With two or more in an item, block or mob list, Any of these / All of these appears under it. Any of these (the default) counts something that matches one of them. All of these needs one thing that matches every entry at once: #is_shovel and #diamond_tier is a diamond shovel, family:undead and family:monster a hostile undead mob. It's for tags and families: nothing is two different ids at once. Needs BedrockAdvancements 2.0.13.

An add-on you added before 2.0.7's creator isn't sorted yet: all its ids show in every list. Remove it and add it again to sort it.

Your own groups

A group is a list of items, blocks or mobs that you name, like a # tag you make yourself: "my_ores", "farm_animals", "boss_mobs". Make them under Your groups (in the list on the left, or the File menu): pick Items, Blocks or Mobs, name it and fill it in. It can hold ids, tags, families and your add-on's ids.

Use a group in any goal's list box of the same sort: it's offered at the top of the list, or type @ and its name. It sits there next to ids and tags, and one box can hold several groups. Change what a group holds and every goal using it follows. Renaming it renames it everywhere; removing it leaves the goals with what it held, written out.

Each group has its own Any of these / All of these:

  • Any of these (the default): any one entry counts. "Kill a @boss_mobs", "Collect a @my_ores". With Different ones, over time ticked on the goal, each entry counts once: "kill each of @boss_mobs".
  • All of these: one thing has to be every entry at once, so it's for tags and families: a group of #is_shovel and #diamond_tier is a diamond shovel. Such a group can sit in a list with other entries: "a @diamond_shovel or a stick".

Groups only exist in the creator. The exported pack lists what each group holds, so they work with every version of BedrockAdvancements and players never see the @ names. The pack keeps your groups in a small file of its own (ba_creator.json), so opening the pack in the creator again brings them back.

A spot in the world

Go somewhere can be a place of your own: "Visit the iron farm", "Find the town hall". Fill in Near X and Near Z with the spot's coordinates (stand there with Show Coordinates on and read them off the screen), and Within with how close the player has to come: 15 for within 15 blocks. Left empty, it's 5.

At least this far is the other way round: the player has to be that many blocks away. With Near X and Near Z empty it's measured from the middle of the world (X 0, Z 0): 10000 for "travel 10,000 blocks out". With a spot, it's that far from the spot. The advancement shows how far the player has got. Needs 2.0.21.

Leave Near Y empty and any height counts, above or below the spot. Fill it in and the distance is measured in every direction, so a spot at the top of a tower isn't reached from the ground. Set the Dimension too: without it, the same coordinates in the Nether count. Needs BedrockAdvancements 2.0.19.

Doing something several times

Goals that happen at a moment (killing, mining, eating, breeding…) have a Times setting: "Kill 25 zombies" is the kill goal with Times set to 25. The tooltip shows progress.

Set Counted to In one life and the count starts again whenever the player dies: "kill 100 zombies without dying".

Goals that are true or false at any moment (holding items, standing in a biome) don't have Times. For "have 64 diamonds", use the item goal's Amount.

Different ones, over time

Kill, eat, craft, fish, tame, breed, mine, place, break a tool, barter and Go somewhere goals have Different ones, over time, and from 2.0.16 so do enchanted items, effects, potions (collect or brew), using an item, riding, and every other mob goal (be killed by, get hurt by, hit, shoot, leash, use an item on, block, trade with, look at through a spyglass). Tick it and every entry in the goal's list counts once, whenever it happens, like Java's "Monsters Hunted" or "A Balanced Diet":

  • Kill a mob, with zombie, skeleton, creeper and spider: kill each of these.
  • Go somewhere, with ten biomes: visit each of these biomes.
  • Eat or drink, with every food: eat each of these.
  • Have an enchanted item, with every enchantment (Tick all in the list): get every enchantment, on any items, whenever.

Leave How many different ones empty to need every one in the list, or set a number for any N of them: "visit any 3 of these biomes", "tame any 5 of these". Players see how many they've done in their In Progress list, and the advancement's details list which ones they've done and which are left (from 2.0.13).

For items, Collect a set of items works the same way: each item counts the first time it's in the player's inventory, so they don't have to hold them all at once. Every kind of log, every kind of sapling…

Against the clock

Within gives a goal a time limit, in seconds, minutes or hours of real time. Everything it adds up has to happen inside that time:

  • With Times: "kill 5 zombies within 1 minute" is the kill goal with Times 5 and Within 1 minute. Any 5 kills less than a minute apart complete it; a kill drops out of the count a minute after it happened, so the progress in the tooltip can go down again.
  • With Different ones, over time: "kill a zombie, a skeleton and a creeper within 90 seconds".
  • With Reach a total: "sprint 500 blocks within 2 minutes", "deal 100 damage within 10 seconds".

It combines with everything else: "kill 5 zombies, holding an axe, in the plains, at or above Y 200, within 1 minute". A goal done once (Times 1) has nothing to add up, so Within does nothing there. Needs BedrockAdvancements 2.0.15; older versions ignore the time limit.

Kills and hits

Kill a mob and Hit a mob can say how it was done:

  • Holding: the item in the player's hand, like any sword or a mace.
  • Killed with (Hit with): the projectile, like an arrow, a thrown trident or a snowball, whatever the player is holding. Tipped and spectral arrows count as arrows. On Kill a mob it can also be an explosion the player set off: tnt they lit with flint and steel, a fire charge or a burning arrow, or an ender_crystal they hit (needs 2.0.21). TNT set off by redstone, a dispenser or fire is nobody's kill.
  • With bare hands: a punch, with nothing in the main hand. A thrown trident, thorns or fire doesn't count.
  • From at least (kills, and Shoot a mob): how far the player is from the mob, in blocks across the ground, like Java's "Sniper Duel".
  • Also for players within (kills): everyone this close to the mob gets the kill too, like the dragon fight. Good for boss fights in multiplayer.

Block an attack with a shield counts when the player has a shield up (sneaking, with it in either hand) and an attack from in front does them no damage. Attack picks a melee hit or a projectile (and which projectile: an arrow, a thrown trident, a fireball), and Attacker who it came from: for a projectile, who shot it. "Block a hit from a zombie", "block 10 arrows from skeletons within 30 seconds". Hits in creative, or in the half second after being hurt (when nothing can hurt the player anyway), don't count. Melee blocks and the attacker need BedrockAdvancements 2.0.15; older versions count any blocked projectile.

Which mob, exactly

Goals about a mob (kill, hit, get hurt, be killed, block with a shield, use an item on, shoot, tame, leash, ride) can ask more about it than which mob it is. For Be killed, Get hurt and Block an attack with a shield, they're about the killer or attacker; for Ride something, what you ride.

  • Baby or adult: "use a golden dandelion on a baby pig". Both needs one of each, at any time: "kill a baby and an adult zombie". With Times it's that many in all, with at least one of each. Both needs BedrockAdvancements 2.0.13.
  • Kind: shows once one mob that comes in kinds is picked. A cat's breed, a wolf's coat, a frog, axolotl, rabbit, parrot, fox, panda, horse, llama, mooshroom or goat, a villager's or zombie villager's job, a warm or cold pig, cow or chicken, a sheep's colour: "tame a black cat".
  • Named: a player's gamertag, or the name on a mob's name tag. Capitals don't matter.
  • Riding: what the mob is riding: a chicken for a chicken jockey, a spider for a spider jockey. "Kill a baby zombie riding a chicken".
  • Mob wearing: something on its head, chest, legs or feet: "kill a zombie wearing a carved pumpkin". With several items, any of them. Pick items, not tags: a tag never matches here. Needs BedrockAdvancements 2.0.20.
  • Mob holding: something in either of its hands: "kill a skeleton holding a bow". Needs 2.0.20.
  • With several entries, All of these under either box means the mob has every one of them on: the four diamond pieces for "kill a zombie in full diamond armour". Needs 2.0.21; Any of these is any one piece.

Wearing armour: Wear armour only looks at the slots you fill in: just Head with iron_helmet is "wear an iron helmet", whatever else is worn. Any one piece is an item worn in any slot: list the iron helmet, chestplate, leggings and boots for "wear a piece of iron armour" (needs 2.0.21). With every box empty, any piece of armour counts.

Naming a mob: Use an item on a mob with the item name_tag and Named counts when the player gives the mob that name with a name tag: "name a sheep jeb_". Needs 2.0.20.

Mobs around you: Have mobs nearby counts while enough of the mobs you pick are within a number of blocks of the player, at once: "have 10 cows within 16 blocks". Leave the mob empty for any mob. It takes the same details: "have 3 baby pigs nearby". Needs 2.0.20.

PvP: use player as the mob. Kill a mob with player is "kill a player"; add Named for "kill Steve". Be killed with the cause A mob or player and the killer player is "be killed by a player". Your own arrow or TNT doesn't count as a player.

Kind on Tame an animal, Use an item on a mob and Leash a mob works with every 2.0 version, except warm and cold kinds and sheep colours. The rest needs 2.0.11.

Bartering with piglins

Barter with a piglin counts when a piglin gives something back for a gold ingot, handed to it or thrown for it to pick up. It goes to the player who gave the gold. Set Receive for "barter with a piglin and get an ender pearl", or tick Different ones, over time to collect a list of barter items. A barter cut short (the piglin was hit while admiring the gold) doesn't count.

Enchanted items

Have an enchanted item is done when one item has the enchantments you pick, all on the same item:

  • Enchantments with At level 5: "Power V on a bow".
  • No enchantments listed, How many enchantments 5 and the item #is_sword: "a sword with 5 enchantments".
  • Several listed and a number: "any 2 of Sharpness, Smite and Looting".
  • At their highest level: only maxed enchantments count (Unbreaking III, Mending).
  • Different ones, over time: each listed enchantment counts once, on any item, whenever the player has it. Tick every enchantment for "get every enchantment": ones that can't share an item (Sharpness and Smite, Silk Touch and Fortune) count too.

The creator stops enchantments that could never be on one item together, and levels above an enchantment's highest (Mending II).

Named items

Collect items has Named: only items with that name count, as given at an anvil: "have a diamond sword named Excalibur". Capitals don't matter. Minecraft doesn't say who named an item, so one that somebody else named and handed over counts too. Needs BedrockAdvancements 2.0.20.

Potions and tipped arrows

Collect items, Eat or drink and Brew a potion have a Potion list: which potions count. strong_ and long_ are the stronger and longer kinds, so "have a Splash Potion of Strong Healing" is the item splash_potion with the potion strong_healing. With Different ones, over time, Collect items and Brew a potion go through the list: "collect every potion", "brew each of these".

Tipped arrows count by their effect only (Minecraft doesn't tell add-ons more): an Arrow of Swiftness counts for swiftness, long_swiftness and strong_swiftness. Needs BedrockAdvancements 2.0.16.

Where picks where the item must be: anywhere in the inventory, equipped (worn, or held in either hand: "Mending on your armour"), or held in the main hand.

Totals and challenges

Reach a total

A running total, kept for each player, that completes when it reaches the amount:

  • Jumps, emotes, tools worn out, raids won.
  • Distance walked (on foot, any pace), sprinted, sneaked, swum, climbed, fallen, flown with an elytra, or travelled any way at all, riding included, in blocks.
  • Time spent (or spent sneaking) in minutes, hours or Minecraft days (20 minutes each).
  • In-game time: how far the world's clock moves while the player is on, so a night slept through counts as the night it skips. In Minecraft days, counted in one life, it's "Survive 100 days". Nothing counts with the daylight cycle off. Needs BedrockAdvancements 2.0.16.
  • Experience earned, and damage dealt or taken (2 damage is one heart).

Counted: in total; in one life (starts again when the player dies); or without stopping, for distances and time (starts again after a second's pause: "sprint 1,000 blocks in one go"). Totals count from when your pack is added to a world.

On its own, time spent is time played. Add where and when to make it more: with In biome set to the deserts and 3 Minecraft days, it's "spend 3 days in a desert".

Survive…

Last a whole night (nightfall to sunrise), a whole day, a day and a night, or a number of minutes, without dying or sleeping. Optionally without taking damage, or without eating or drinking. A night or day only counts if the player is in the game when it starts, and skipping it (everyone sleeping, /time set) ends it. With where and when options, they must hold the whole time: "survive a night in a swamp", "last 10 minutes in the Nether without taking damage". Tick Sleeping is allowed (needs 2.0.21) and sleeping or a skipped night no longer ends it: only dying does.

Complete other advancements

A capstone: complete every advancement in a tab (yours, or a built-in one like the Nether), the advancements you list, or every advancement at all. How many of them makes it any N of them. Other capstones don't count towards each other, so two "finish this tab" advancements don't wait on each other.

Reach an experience level

Done once the player's level reaches the one you set.

Where and when

Under each goal, Where and when makes it count only while these hold. They work with every kind of goal and combine freely:

  • In dimension: the Overworld, the Nether or the End.
  • In biome: any of the biomes you pick.
  • At or above Y / at or below Y: a height.
  • Time of day: by day or at night.
  • Weather: clear, raining, or a thunderstorm. Minecraft only lets add-ons see the weather change, so it counts as clear until the first change after BedrockAdvancements is added.
  • While having effects: the player has every effect you pick at that moment: "kill a bat while blinded", "mine diamonds with Haste". Needs BedrockAdvancements 2.0.13.

To make two things happen together, put them in one goal like this, not in two goals: an advancement with a "kill a bat" goal and a "have Blindness" goal counts each one whenever it happens, even on different days.

The Where and when options under a goal, set to ocean biomes at night
Open Where and when under a goal. Here, only drowned killed in an ocean at night count.

Some ideas: kill 50 zombies at night; mine 1,000 blocks below Y 0; swim 500 blocks in a thunderstorm; sprint a kilometre in the Nether; jump 1,000 times in the snow.

Any game event

When no other kind of goal fits, Advanced: any game event has two that can be made from anything Minecraft tells add-ons. They need BedrockAdvancements 2.0.14.

  • Any game event: pick one of Minecraft's events (entityHurt, playerInteractWithEntity, buttonPush...) and add Checks it must pass, one per line: damageSource.cause = fall, damage >= 10.
  • Any player state: checks on the player, made about twice a second: isSneaking = true, location.y < 0.

The Game events page lists every event, what it holds, and how checks are written. The creator checks each one as you type and warns about anything the game doesn't have.

Some ready-made goals are built the same way, so they appear with a website update rather than a new version of the add-on: Press a button, Pull a lever, Step on a pressure plate, Start a raid and Win a raid.

Several goals

+ Another goal adds more. Then choose what the advancement Needs:

  • All of the goals: every goal, in any order, whenever (Java's "Adventuring Time" style, with a progress counter).
  • Any one of the goals: just one of them.
  • All of the goals at the same time: see below.
  • In Advanced mode, needs this many: any N of them, like "visit 17 of these 50 biomes".

At the same time

With All of the goals at the same time, the goals have to come together in one moment: "ride a boat in a shipwreck", "kill a blaze in a fortress", "open a chest under water". Needs BedrockAdvancements 2.0.20; older versions count each goal on its own.

It works with two sorts of goal:

  • Goals that hold for a while and then stop: Ride something, Find a structure, Go somewhere, Be under water, Have mobs nearby, Wear armour, Collect items (having the item), Have an enchanted item, Have effects, Sleep in a bed, Look through a spyglass, Reach an experience level, Has a tag, Reach a score and Any player state. These must all hold at once, and don't tick off on their own.
  • Everything else, like a kill, an item used or a block mined: these only count while every goal that holds does. With Times, each one has to happen then: "kill 5 zombies while riding a pig".

Players see it as one goal: the screen shows no "0/2" for it, and its details list what has to be true together (from 2.0.21). When goals of the second sort are counted, the count is theirs: "3/5" zombies.

The advancement completes when the other goals are done, or, when every goal is one that holds, the moment they all do. Give it at least one goal that holds: without one there is nothing to be at the same time as, and the creator warns you.

  • Ride a boat in a shipwreck: Ride something (boat) + Find a structure (shipwreck).
  • Kill a mob in a structure: Kill a mob + Find a structure.
  • Open a chest in a structure: Any game event (blockContainerOpened, who earns it openSource.entity, check block is chest) + Find a structure.
  • Kill a drowned under water: Kill a mob + Be under water.

"The same time" allows a couple of seconds, since the game is checked about once a second (structures every 2 seconds). Structures keep their own limits: without the Beta edition they're recognised by the blocks around the player, so stand inside, not above.

The + Another goal button and the Needs setting
(1) Add another goal, (2) then choose whether all of them are needed, or any one.

In Advanced mode each goal's checklist text is what the in-game progress list shows. By default it's the green sentence.

Rewards

XP is given when the advancement is done. In Advanced mode, Commands run as the player: give @s diamond 3, effect @s regeneration 10, tag @s add chapter_two, one per line.