โ›๏ธ Episode 6 ยท Improver ยท Tags & Goals

Group and Reward
Episode 6: Tags and Advancements

Tags group items and blocks so your pack can talk about whole families at once. Advancements create custom goals and rewards. Together they make a pack feel like a game.

๐Ÿ‘ถ Ages 10+ โฑ๏ธ ~55 mins โ›๏ธ Minecraft โœ“ Free workshop
๐Ÿท๏ธ Tags โœ… Advancements ๐ŸŽ‰ Rewards ๐Ÿงช Test goals
โญ
0 XP
Level 1
๐Ÿ”ฅ0
Your Progress 0 / 4 steps
Build it in our Datapack Studio too: lay out the crafting recipe, write your function and pack files, then export a real datapack zip in the browser with no install. Open the Minecraft Mod Studio →
๐Ÿ”ฅ
Ember says: tags are how you say "any plank" instead of listing every plank. Advancements are how you say "well done". Both make players feel clever.
1
๐Ÿท๏ธ
What Tags Are
Name a group
Active
๐ŸŽฏ
Goal for this step

Understand item and block tags.

  • 1A tag is a named list of items or blocks, like mypack:shiny.
  • 2Tags live in data/<namespace>/tags/item/ (or tags/items/ in older versions).
  • 3Recipes and functions can refer to a whole tag at once.
โœ๏ธ
Fill in the Blanks
+15 XP
A tag is a named of items or blocks.
๐Ÿง 
Knowledge Check
+15 XP
Why use a tag instead of listing every block?
ASo you can refer to a whole family at once
BIt is shorter to type
CTags look nice
2
โœ…
Write a Tag
List the members
Locked
๐ŸŽฏ
Goal for this step

Create an item tag.

  • 1A tag file is JSON with a values list.
  • 2Each value is a full item id, or another tag with a # in front.
  • 3Give it a clear name so recipes read well.
{
  "values": [
    "minecraft:oak_planks",
    "minecraft:birch_planks",
    "minecraft:spruce_planks"
  ]
}
โœ๏ธ
Fill in the Blanks
+15 XP
A tag file has a list of items.
๐Ÿง 
Knowledge Check
+15 XP
What goes in a tag values list?
AFull item ids
BFile paths
CSounds
3
๐ŸŽ‰
Make an Advancement
A custom goal
Locked
๐ŸŽฏ
Goal for this step

Create an advancement with a reward.

  • 1advancement, display, and criteria are the main parts.
  • 2criteria describes what the player must do, using a trigger.
  • 3rewards can run a function when they earn it.
{
  "criteria": {
    "get_diamond": { "trigger": "minecraft:inventory_changed" }
  },
  "rewards": { "function": "mypack:reward" }
}
โœ๏ธ
Fill in the Blanks
+15 XP
An advancement lists its goals under .
๐Ÿง 
Knowledge Check
+15 XP
What does the rewards section do?
ARuns something when the goal is earned
BShows the title
CStores items
4
๐Ÿงช
Reward and Test
Make it satisfying
Locked
๐ŸŽฏ
Goal for this step

Give a reward and test it.

  • 1Point the reward at one of your functions.
  • 2Earn the advancement in-game and watch it fire.
  • 3Keep the reward meaningful but not overpowered.
โœ๏ธ
Fill in the Blanks
+15 XP
An advancement reward can run one of your .
๐Ÿง 
Knowledge Check
+15 XP
A good reward should be what?
AMeaningful but balanced
BAlways the best item in the game
CNothing
๐ŸŽ‰โœจ๐Ÿ†๐ŸŽ‰
Your Pack Has Goals!
You can group items and create rewards. Next you learn to debug a datapack when something breaks.
0
Total XP
1
Level
0
Best Streak
0%
Accuracy
Next: Episode 7: Fix the Log โ†’