From 0ef93e4bea73061cdb23ce983fa54b4d4087d34e Mon Sep 17 00:00:00 2001 From: lars Date: Mon, 22 Jul 2024 17:56:59 +0200 Subject: [PATCH] added advancements, removed test --- .../craftattack/craft_pixelblock.json | 27 +++++++++++++ .../craftattack/fleischerchest.json | 38 +++++++++++++++++++ .../craftattack/participate_event.json | 27 +++++++++++++ .../advancement/craftattack/root.json | 25 ++++++++++++ .../craftattack/search_trouble.json | 27 +++++++++++++ .../advancement/craftattack/start.json | 28 ++++++++++++++ .../craftattack/use_pixelblock.json | 27 +++++++++++++ .../advancement/craftattack/winner.json | 27 +++++++++++++ .../advancement/test/test.json | 28 -------------- 9 files changed, 226 insertions(+), 28 deletions(-) create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/craft_pixelblock.json create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/fleischerchest.json create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/participate_event.json create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/root.json create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/search_trouble.json create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/start.json create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/use_pixelblock.json create mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/winner.json delete mode 100644 Custom_Advancements_1.21/data/custom_advancements/advancement/test/test.json diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/craft_pixelblock.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/craft_pixelblock.json new file mode 100644 index 0000000..535ebaa --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/craft_pixelblock.json @@ -0,0 +1,27 @@ +{ + "display": { + "icon": { + "id": "minecraft:gray_stained_glass" + }, + "title": { + "text": "Was ist das?" + }, + "description": { + "text": "Crafte einen Pixelblock mit Diamant- und Emeradblöcken!" + }, + "frame": "goal", + "announce_to_chat": true + }, + "criteria": { + "crafted_pixelblock": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + ["crafted_pixelblock"] + ], + "parent": "custom_advancements:craftattack/root", + "rewards": { + "experience": 40 + } +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/fleischerchest.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/fleischerchest.json new file mode 100644 index 0000000..9f202c3 --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/fleischerchest.json @@ -0,0 +1,38 @@ +{ + "display": { + "icon": { + "id": "minecraft:red_shulker_box" + }, + "title": { + "text": "Fleischerchest" + }, + "description": { + "text": "Crafte eine Fleischerkiste!", + "color": "#eb141c" + }, + "frame": "goal", + "announce_to_chat": true + }, + "criteria": { + "crafted_fleischerchest": { + "trigger": "minecraft:recipe_crafted", + "conditions": { + "recipe_id": "minecraft:shulker_box_coloring", + "ingredients": [ + { + "items": [ + "minecraft:red_dye" + ] + } + ] + } + } + }, + "requirements": [ + ["crafted_fleischerchest"] + ], + "parent": "custom_advancements:craftattack/root", + "rewards": { + "experience": 40 + } +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/participate_event.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/participate_event.json new file mode 100644 index 0000000..3f9bc3f --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/participate_event.json @@ -0,0 +1,27 @@ +{ + "display": { + "icon": { + "id": "minecraft:target" + }, + "title": { + "text": "Runde zwischendurch" + }, + "description": { + "text": "Nimm an einem Event teil!" + }, + "frame": "goal", + "announce_to_chat": false + }, + "criteria": { + "participates_in_event": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + ["participates_in_event"] + ], + "parent": "custom_advancements:craftattack/root", + "rewards": { + "experience": 0 + } +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/root.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/root.json new file mode 100644 index 0000000..5bf31c4 --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/root.json @@ -0,0 +1,25 @@ +{ + "display": { + "icon": { + "id": "minecraft:diamond" + }, + "title": { + "text": "CraftAttack" + }, + "description": { + "text": "Willkommen bei CraftAttack!", + "color": "#2b7fec" + }, + "frame": "task", + "announce_to_chat": false, + "background": "minecraft:textures/block/oak_planks.png" + }, + "criteria": { + "join_server": { + "trigger": "minecraft:tick" + } + }, + "requirements": [ + ["join_server"] + ] +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/search_trouble.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/search_trouble.json new file mode 100644 index 0000000..bc65016 --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/search_trouble.json @@ -0,0 +1,27 @@ +{ + "display": { + "icon": { + "id": "minecraft:piglin_head" + }, + "title": { + "text": "Sucht Stress" + }, + "description": { + "text": "Schlage einen Admin mit der Faust!" + }, + "frame": "challenge", + "announce_to_chat": true + }, + "criteria": { + "hit_admin": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + ["hit_admin"] + ], + "parent": "custom_advancements:craftattack/root", + "rewards": { + "experience": 0 + } +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/start.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/start.json new file mode 100644 index 0000000..1e4bec2 --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/start.json @@ -0,0 +1,28 @@ +{ + "display": { + "icon": { + "id": "minecraft:diamond_block" + }, + "title": { + "text": "3... 2... 1... Los!" + }, + "description": { + "text": "Sei beim Countdown zum Start von CraftAttack dabei!", + "color": "#116ce2" + }, + "frame": "goal", + "announce_to_chat": false + }, + "criteria": { + "craftattack_start": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + ["craftattack_start"] + ], + "parent": "custom_advancements:craftattack/root", + "rewards": { + "experience": 17 + } +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/use_pixelblock.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/use_pixelblock.json new file mode 100644 index 0000000..0d9d9d2 --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/use_pixelblock.json @@ -0,0 +1,27 @@ +{ + "display": { + "icon": { + "id": "minecraft:gray_stained_glass" + }, + "title": { + "text": "Winzige Mini Blöcke!" + }, + "description": { + "text": "Gehe in einen Pixelblock und baue etwas!" + }, + "frame": "goal", + "announce_to_chat": true + }, + "criteria": { + "used_pixelblock": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + ["used_pixelblock"] + ], + "parent": "custom_advancements:craftattack/craft_pixelblock", + "rewards": { + "experience": 30 + } +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/winner.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/winner.json new file mode 100644 index 0000000..31982e7 --- /dev/null +++ b/Custom_Advancements_1.21/data/custom_advancements/advancement/craftattack/winner.json @@ -0,0 +1,27 @@ +{ + "display": { + "icon": { + "id": "minecraft:gold_ingot" + }, + "title": { + "text": "Gewinner" + }, + "description": { + "text": "Gewinne ein Event!" + }, + "frame": "challenge", + "announce_to_chat": true + }, + "criteria": { + "won_event": { + "trigger": "minecraft:impossible" + } + }, + "requirements": [ + ["won_event"] + ], + "parent": "custom_advancements:craftattack/participate_event", + "rewards": { + "experience": 50 + } +} \ No newline at end of file diff --git a/Custom_Advancements_1.21/data/custom_advancements/advancement/test/test.json b/Custom_Advancements_1.21/data/custom_advancements/advancement/test/test.json deleted file mode 100644 index 94d1529..0000000 --- a/Custom_Advancements_1.21/data/custom_advancements/advancement/test/test.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "display": { - "icon": { - "id": "minecraft:stripped_dark_oak_log" - }, - "title": { - "text": "Test", - "color": "blue", - "bold": true - }, - "description": { - "text": "Test the datapack!", - "color": "blue", - "italic": true - }, - "frame": "challenge", - "announce_to_chat": true, - "background": "minecraft:textures/block/netherite_block.png" - }, - "criteria": { - "joined": { - "trigger": "minecraft:tick" - } - }, - "requirements": [ - ["joined"] - ] -} \ No newline at end of file