Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,134 changes: 1,072 additions & 62 deletions catalog/export/catalog.json

Large diffs are not rendered by default.

43 changes: 41 additions & 2 deletions catalog/src/main/resources/challenges-catalog/challenges.json
Original file line number Diff line number Diff line change
Expand Up @@ -1516,8 +1516,7 @@
"category": "misc_challenge",
"icon": "SHULKER_SHELL",
"class": "challenge.DamageTeleportChallenge",
"since": "2.0.2",
"registered": false
"since": "2.0.2"
},
{
"id": "zerohearts",
Expand Down Expand Up @@ -1724,6 +1723,14 @@
"class": "goal.CollectSwordsGoal",
"since": "2.1.2"
},
{
"id": "collectnetheritearmor",
"key": "collect-netherite-armor",
"category": "fastest_time",
"icon": "NETHERITE_CHESTPLATE",
"class": "goal.CollectNetheriteArmorGoal",
"since": "3.1"
},
{
"id": "collectworkstations",
"key": "collect-workstations",
Expand All @@ -1740,6 +1747,38 @@
"class": "goal.FindElytraGoal",
"since": "2.1.1"
},
{
"id": "findsnifferegg",
"key": "find-sniffer-egg",
"category": "fastest_time",
"icon": "SNIFFER_EGG",
"class": "goal.FindSnifferEggGoal",
"since": "3.1"
},
{
"id": "findtotem",
"key": "find-totem",
"category": "fastest_time",
"icon": "TOTEM_OF_UNDYING",
"class": "goal.FindTotemGoal",
"since": "3.1"
},
{
"id": "findenchantedgoldenapple",
"key": "find-enchanted-golden-apple",
"category": "fastest_time",
"icon": "ENCHANTED_GOLDEN_APPLE",
"class": "goal.FindEnchantedGoldenAppleGoal",
"since": "3.1"
},
{
"id": "findheartofthesea",
"key": "find-heart-of-the-sea",
"category": "fastest_time",
"icon": "HEART_OF_THE_SEA",
"class": "goal.FindHeartOfTheSeaGoal",
"since": "3.1"
},
{
"id": "eatcake",
"key": "eat-cake",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void readsAChallengeWithItsClassAndRelease() {
@Test
void anEntryIsRegisteredUnlessItSaysOtherwise() {
assertTrue(bundled.challenge("cutclean").orElseThrow().registered());
assertFalse(bundled.challenge("damageteleport").orElseThrow().registered());
assertFalse(bundled.challenge("zerohearts").orElseThrow().registered());
}

// Enabling one moves every player to the spawn of a new world, so a random pick would reset the run
Expand Down
66 changes: 61 additions & 5 deletions language/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@
"found": "Gefundene"
},
"switch-filter": "{0} anzeigen"
},
"category": {
"progress": "<gray>Gefunden:</gray> <yellow>{0}</yellow> <dark_gray>/</dark_gray> <yellow>{1}</yellow>",
"show": "Nur diese anzeigen",
"show-all": "Alles anzeigen"
}
},
"challenges": {
Expand Down Expand Up @@ -2349,6 +2354,34 @@
"eine *Elytra findet*, gewinnt"
]
},
"find-sniffer-egg": {
"name": "*Schnüffler-Ei Finden*",
"desc": [
"Der Spieler, der als *erstes*",
"ein *Schnüffler-Ei findet*, gewinnt"
]
},
"find-totem": {
"name": "*Totem Finden*",
"desc": [
"Der Spieler, der als *erstes*",
"ein *Totem findet*, gewinnt"
]
},
"find-enchanted-golden-apple": {
"name": "*Verzauberten Apfel Finden*",
"desc": [
"Der Spieler, der als *erstes* einen",
"*verzauberten Apfel findet*, gewinnt"
]
},
"find-heart-of-the-sea": {
"name": "*Herz des Meeres Finden*",
"desc": [
"Der Spieler, der als *erstes*",
"ein *Herz des Meeres findet*, gewinnt"
]
},
"eat-cake": {
"name": "*Kuchen Essen*",
"desc": [
Expand All @@ -2370,6 +2403,13 @@
"*alle Eisblöcke* und Schnee hat, gewinnt"
]
},
"collect-netherite-armor": {
"name": "*Volle Netheritrüstung*",
"desc": [
"Der Spieler, der als *erstes* die",
"*ganze Netheritrüstung* hat, gewinnt"
]
},
"collect-swords": {
"name": "*Sammle Schwerter*",
"desc": [
Expand Down Expand Up @@ -2600,10 +2640,12 @@
"menu": "Alles sammeln",
"bossbar-next": "{@bossbar.format-arg('{@name}', '<yellow>{0}</yellow> <dark_gray>{@symbol.vertical}</dark_gray> <green>{1}</green> <dark_gray>/</dark_gray> <yellow>{2}</yellow>')}",
"category": {
"items": "Items",
"mobs": "Mobs",
"advancements": "Fortschritte"
}
"items": "*Items*",
"mobs": "*Mobs*",
"advancements": "*Fortschritte*",
"overall": "*Gesamt*"
},
"ranking": "<gray>Am meisten gefunden:</gray> {0}"
},
"damage-teleport": {
"name": "*Schaden = Zufälliger Teleport*",
Expand Down Expand Up @@ -3822,6 +3864,20 @@
"thunder": "<gray>Wetter zu <yellow>stürmisch </yellow>geändert</gray>",
"description": "Ändert das Wetter."
},
"worldborder": {
"set": "<gray>Die Weltgrenze ist jetzt <yellow>{0} </yellow>Blöcke breit</gray>",
"set-over": "<gray>Die Weltgrenze ist in <yellow>{1} </yellow>Sekunden <yellow>{0} </yellow>Blöcke breit</gray>",
"center": "<gray>Die Weltgrenze liegt jetzt um <yellow>{0}</yellow><dark_gray>, </dark_gray><yellow>{1}</yellow></gray>",
"get": "<gray>Die Weltgrenze ist <yellow>{0} </yellow>Blöcke breit und liegt um <yellow>{1}</yellow><dark_gray>, </dark_gray><yellow>{2}</yellow></gray>",
"damage-buffer": "<gray>Spieler außerhalb der Weltgrenze bekommen nach <yellow>{0} </yellow>Blöcken Schaden</gray>",
"damage-amount": "<gray>Spieler außerhalb der Weltgrenze bekommen <yellow>{0} </yellow>Schaden pro Block</gray>",
"mode": {
"damage": "<gray>Die Weltgrenze <yellow>verletzt </yellow>jetzt Spieler außerhalb</gray>",
"push": "<gray>Die Weltgrenze <yellow>setzt </yellow>Spieler außerhalb jetzt zurück nach innen</gray>"
},
"reset": "<gray>Die Weltgrenze ist wieder <yellow>normal</yellow></gray>",
"description": "Setzt, verschiebt oder zeigt die Weltgrenze der Challenge."
},
"invsee": {
"open": "<gray>Inventar von <yellow>{0} </yellow>geöffnet</gray>",
"description": "Öffnet das Inventar eines anderen Spielers."
Expand Down Expand Up @@ -4097,7 +4153,7 @@
"translatable": {
"damage-cause": {
"kill": "Kill",
"world_border": "Weltbarriere",
"world_border": "Weltgrenze",
"contact": "Kontakt",
"entity_attack": "Angriff",
"entity_sweep_attack": "Schwungangriff",
Expand Down
64 changes: 60 additions & 4 deletions language/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@
"found": "found"
},
"switch-filter": "Show {0}"
},
"category": {
"progress": "<gray>Found:</gray> <yellow>{0}</yellow> <dark_gray>/</dark_gray> <yellow>{1}</yellow>",
"show": "Show only these",
"show-all": "Show everything"
}
},
"challenges": {
Expand Down Expand Up @@ -2331,6 +2336,34 @@
"The *player* that finds an elytra *wins*"
]
},
"find-sniffer-egg": {
"name": "*Find Sniffer Egg*",
"desc": [
"The *player* that finds a",
"sniffer egg first *wins*"
]
},
"find-totem": {
"name": "*Find Totem*",
"desc": [
"The *player* that finds a totem",
"of undying first *wins*"
]
},
"find-enchanted-golden-apple": {
"name": "*Find Enchanted Apple*",
"desc": [
"The *player* that finds an",
"enchanted golden apple first *wins*"
]
},
"find-heart-of-the-sea": {
"name": "*Find Heart of the Sea*",
"desc": [
"The *player* that finds a",
"heart of the sea first *wins*"
]
},
"eat-cake": {
"name": "*Eat Cake*",
"desc": [
Expand All @@ -2351,6 +2384,13 @@
"ice blocks and snow first *wins*"
]
},
"collect-netherite-armor": {
"name": "*Full Netherite Armor*",
"desc": [
"The player that *collects* every",
"netherite armor piece first *wins*"
]
},
"collect-swords": {
"name": "*Collect Swords*",
"desc": [
Expand Down Expand Up @@ -2581,10 +2621,12 @@
"menu": "Collect Everything",
"bossbar-next": "{@bossbar.format-arg('{@name}', '<yellow>{0}</yellow> <dark_gray>{@symbol.vertical}</dark_gray> <green>{1}</green> <dark_gray>/</dark_gray> <yellow>{2}</yellow>')}",
"category": {
"items": "Items",
"mobs": "Mobs",
"advancements": "Advancements"
}
"items": "*Items*",
"mobs": "*Mobs*",
"advancements": "*Advancements*",
"overall": "*Overall*"
},
"ranking": "<gray>Most found:</gray> {0}"
},
"damage-teleport": {
"name": "*Damage = Random Teleport*",
Expand Down Expand Up @@ -3802,6 +3844,20 @@
"thunder": "<gray>Weather was changed to <yellow>thundery</yellow></gray>",
"description": "Changes the weather."
},
"worldborder": {
"set": "<gray>The world border is now <yellow>{0} </yellow>blocks wide</gray>",
"set-over": "<gray>The world border will be <yellow>{0} </yellow>blocks wide in <yellow>{1} </yellow>seconds</gray>",
"center": "<gray>The world border is now centered on <yellow>{0}</yellow><dark_gray>, </dark_gray><yellow>{1}</yellow></gray>",
"get": "<gray>The world border is <yellow>{0} </yellow>blocks wide around <yellow>{1}</yellow><dark_gray>, </dark_gray><yellow>{2}</yellow></gray>",
"damage-buffer": "<gray>Players outside the world border take damage after <yellow>{0} </yellow>blocks</gray>",
"damage-amount": "<gray>Players outside the world border take <yellow>{0} </yellow>damage per block</gray>",
"mode": {
"damage": "<gray>The world border now <yellow>damages </yellow>players outside it</gray>",
"push": "<gray>The world border now <yellow>puts </yellow>players outside it back inside</gray>"
},
"reset": "<gray>The world border is back to <yellow>vanilla</yellow></gray>",
"description": "Sets, moves or shows the world border of the challenge."
},
"invsee": {
"open": "<gray>Inventory of <yellow>{0} </yellow>opened</gray>",
"description": "Opens another player's inventory."
Expand Down
23 changes: 22 additions & 1 deletion language/locales/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,18 @@
"find-elytra": {
"*colorize*": "<white>{0}</white>"
},
"find-sniffer-egg": {
"*colorize*": "<red>{0}</red>"
},
"find-totem": {
"*colorize*": "<gold>{0}</gold>"
},
"find-enchanted-golden-apple": {
"*colorize*": "<light_purple>{0}</light_purple>"
},
"find-heart-of-the-sea": {
"*colorize*": "<dark_aqua>{0}</dark_aqua>"
},
"eat-cake": {
"*colorize*": "<white>{0}</white>"
},
Expand All @@ -1014,6 +1026,9 @@
"collect-ice": {
"*colorize*": "<aqua>{0}</aqua>"
},
"collect-netherite-armor": {
"*colorize*": "<color:#8f7c7c>{0}</color>"
},
"collect-swords": {
"*colorize*": "<blue>{0}</blue>"
},
Expand Down Expand Up @@ -1080,7 +1095,13 @@
"*colorize*": "<dark_green>{0}</dark_green>"
},
"collect-everything": {
"*colorize*": "<gold>{0}</gold>"
"*colorize*": "<gold>{0}</gold>",
"category": {
"items.*colorize*": "<green>{0}</green>",
"mobs.*colorize*": "<yellow>{0}</yellow>",
"advancements.*colorize*": "<color:#A855F7>{0}</color>",
"overall.*colorize*": "<aqua>{0}</aqua>"
}
},
"damage-teleport": {
"*colorize*": "<red>{0}</red>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ private void registerCommands() {
TimeCommand.shortcut("night"),
TimeCommand.shortcut("noon"),
TimeCommand.shortcut("midnight"),
new WorldborderCommand(),
new ResultCommand(),
new SkipTimerCommand(),
new CancelChatInputCommand(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ public String getUniqueName() {
return uuid.toString();
}

// Custom challenges are not in the catalog and were never renamed
@NotNull
@Override
public List<String> getFallbackNames() {
return List.of();
}

@NotNull
public static Component formatChallengeName(@NotNull String rawName) {
try {
Expand Down
Loading
Loading