Earned trophies¶
Players also earn trophies for what they do, given straight to them (or dropped at their feet if their inventory is
full) and announced in chat (earned_trophies.announce).
- Advancements. Off by default. With the server's
earned_trophies.advancementson, an advancement gives a trophy titled and shown as it is:CHALLENGES(the purple-framed ones),GOALS(goals and challenges) orALL(NONEis the default). Tasks are uncommon, goals rare and challenges epic. Each is given once. - First kills. The first player on the server to kill the Ender Dragon or the Wither gets a legendary trophy of it, "First Wither Slain", and the first to kill the Warden or an Elder Guardian an epic one. No one after them does.
- Milestones. Walking 100 km (Wanderer, rare), killing 1,000 mobs (Monster Hunter, rare), catching 100 fish (Angler, uncommon) and playing for 100 hours (Veteran, epic).
All but the advancements' are data, in data/trophypedestals/trophypedestals/feats/, and packs add their own the same
way (earned_trophies.feats turns them all off). Each file is one trophy:
{
"trigger": {"type": "stat", "stat": "minecraft:custom", "value": "minecraft:walk_one_cm", "at_least": 10000000},
"title": "Wanderer",
"icon": "minecraft:leather_boots",
"rank": "rare",
"pedestal": "trophypedestals:gold_pedestal",
"once": true
}
| Field | Default | Meaning |
|---|---|---|
trigger |
(needed) | what earns it (below) |
title |
the lang key trophypedestals.feat.<namespace>.<path> |
its name, a text component |
icon |
a gold ingot | the item turning over it |
rank |
common |
its rank |
pedestal |
deepslate | the pedestal it's on |
once |
true |
once per player, or every time it's earned |
Trigger type |
Fields | Earned when |
|---|---|---|
advancement |
advancement |
a player earns that advancement (its title and icon are the advancement's unless given; one already earned counts when they next join) |
stat |
stat (default minecraft:custom), value, at_least |
a player's statistic reaches at_least (checked every 5 seconds) |
first_kill |
entity (an id or #tag), scope (server, the default, or player) |
a player kills that mob first, of everyone or for themselves; the trophy shows the mob |
A file that can't be read is logged with its pack and path, and skipped.