From 4f1b36579efad7100e567b453441ce5a02eb71d7 Mon Sep 17 00:00:00 2001 From: Noaaan Date: Fri, 9 Jun 2023 19:14:51 +0200 Subject: [PATCH] Carmot Stone advancement Signed-off-by: Noaaan --- .../assets/mythicmetals/lang/en_us.json | 2 ++ .../advancements/carmot_stone.json | 32 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 src/main/resources/data/mythicmetals/advancements/carmot_stone.json diff --git a/src/main/resources/assets/mythicmetals/lang/en_us.json b/src/main/resources/assets/mythicmetals/lang/en_us.json index 521d5e0c..8fafbf8b 100644 --- a/src/main/resources/assets/mythicmetals/lang/en_us.json +++ b/src/main/resources/assets/mythicmetals/lang/en_us.json @@ -597,6 +597,8 @@ "advancement.mythicmetals.banglum_chunk.title": "Chunks From Exploding Winds", "advancement.mythicmetals.bronze.description": "Forge Bronze, a classic alloy from Copper and Tin", "advancement.mythicmetals.bronze.title": "Bronze Age Collapse", + "advancement.mythicmetals.carmot_stone.description": "Find a Carmot Stone rarely when mining Carmot Ores", + "advancement.mythicmetals.carmot_stone.title": "The Exchange Project", "advancement.mythicmetals.carmot_template.description": "Craft a Carmot Smithing Template from Smooth Basalt, Carmot Ingots and Diamonds", "advancement.mythicmetals.carmot_template.title": "Fortune or Looting?", "advancement.mythicmetals.carmot.description": "Find Carmot around the top of the Deepslate layer", diff --git a/src/main/resources/data/mythicmetals/advancements/carmot_stone.json b/src/main/resources/data/mythicmetals/advancements/carmot_stone.json new file mode 100644 index 00000000..6d1de184 --- /dev/null +++ b/src/main/resources/data/mythicmetals/advancements/carmot_stone.json @@ -0,0 +1,32 @@ +{ + "parent": "mythicmetals:carmot", + "display": { + "title": { + "translate": "advancement.mythicmetals.carmot_stone.title" + }, + "description": { + "translate": "advancement.mythicmetals.carmot_stone.description" + }, + "icon": { + "item": "mythicmetals:carmot_stone" + }, + "frame": "task", + "show_toast": true, + "announce_to_chat": true, + "hidden": false + }, + "criteria": { + "super_bang": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "mythicmetals:carmot_stone" + ] + } + ] + } + } + } +} \ No newline at end of file