Adding a Milestone
A world-first for your server.
Example
data/mypack/legacy/milestones/first_wither.json:{
"icon": "minecraft:nether_star",
"rarity": "legendary",
"shared": true,
"grace_period": 300,
"trigger": { "type": "kill", "id": "minecraft:wither" },
"retro_advancement": "minecraft:nether/summon_wither"
} The name comes from
milestone.<namespace>.<id> in your language files, unless you set a translation_key.- Milestones use
kill,dimensionoradvancementtriggers shared: others can join in duringgrace_periodsecondsretro_advancement: marks the milestone as taken on worlds that already had it