diff --git a/build.gradle b/build.gradle index 7b69635..8cc8f02 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ plugins { id 'net.minecraftforge.gradle' version '5.1.+' } -version = '1.19.2-0.0.1.3' +version = '1.19.2-0.0.1.4' group = 'com.Casper233.aciday' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'aciday' diff --git a/readme.md b/readme.md index 617fa2d..b9f96db 100644 --- a/readme.md +++ b/readme.md @@ -15,8 +15,13 @@ 本Mod若要联机游玩,需要在服务端和客户端同时安装 +*** + ## 更新日志 +**2022-12-29-1** +#### 添加了成就/进度 + **2022-12-27-2** #### 添加了以下物品/方块,并添加了与其有关的合成表: - 平滑碎片块 diff --git a/readme_en.md b/readme_en.md index bae1d61..fe43609 100644 --- a/readme_en.md +++ b/readme_en.md @@ -18,8 +18,13 @@ The debris are now deeply under the soil. This mod needs to put in both client and server side. +*** + ## Update log +**2022-12-29-1** +#### Added the advancements + **2022-12-27-2** #### Added following items/blocks and it's recipes: - Smooth Debris Block diff --git a/src/main/resources/assets/aciday/lang/en_us.json b/src/main/resources/assets/aciday/lang/en_us.json index a7c3b74..64e1931 100644 --- a/src/main/resources/assets/aciday/lang/en_us.json +++ b/src/main/resources/assets/aciday/lang/en_us.json @@ -1,6 +1,7 @@ { "item.aciday.debris": "Debris", "item.aciday.bronze_ingot": "Bronze Ingot", + "block.aciday.debris_ore": "Debris Ore", "block.aciday.bronze_ore": "Bronze Ore", "block.aciday.debris_block": "Debris Block", @@ -8,5 +9,12 @@ "block.aciday.deepslate_debris_ore": "Deepslate Debris Ore", "block.aciday.deepslate_bronze_ore": "Deepslate Bronze Ore", "block.aciday.smooth_debris_block": "Smooth Debris Block", - "itemGroup.aciday": "Ancient Days" + + "itemGroup.aciday": "Ancient Days", + + "advancements.aciday.debris.description": "Get a Debris", + "advancements.aciday.bronze": "This is Bronze~", + "advancements.aciday.bronze.description": "Get a Bronze Ingot", + "advancements.aciday.smooth_debris_block": "This looks fine, like metal!", + "advancements.aciday.smooth_debris_block.description": "Get one Smooth debris block" } \ No newline at end of file diff --git a/src/main/resources/assets/aciday/lang/zh_cn.json b/src/main/resources/assets/aciday/lang/zh_cn.json index 412ca8a..665ef85 100644 --- a/src/main/resources/assets/aciday/lang/zh_cn.json +++ b/src/main/resources/assets/aciday/lang/zh_cn.json @@ -1,6 +1,7 @@ { "item.aciday.debris": "碎片", "item.aciday.bronze_ingot": "青铜锭", + "block.aciday.debris_ore": "碎片矿石", "block.aciday.bronze_ore": "青铜矿石", "block.aciday.debris_block": "碎片块", @@ -8,5 +9,12 @@ "block.aciday.deepslate_debris_ore": "深层碎片矿石", "block.aciday.deepslate_bronze_ore": "深层青铜矿石", "block.aciday.smooth_debris_block": "平滑碎片块", - "itemGroup.aciday": "古之生活" + + "itemGroup.aciday": "古之生活", + + "advancements.aciday.debris.description": "获得碎片", + "advancements.aciday.bronze": "这是 这是青铜?", + "advancements.aciday.bronze.description": "获得青铜锭", + "advancements.aciday.smooth_debris_block": "看着不错,铁块亲戚?", + "advancements.aciday.smooth_debris_block.description": "获得平滑碎片块" } \ No newline at end of file diff --git a/src/main/resources/assets/aciday/textures/gui/advancements.png b/src/main/resources/assets/aciday/textures/gui/advancements.png new file mode 100644 index 0000000..d98187d Binary files /dev/null and b/src/main/resources/assets/aciday/textures/gui/advancements.png differ diff --git a/src/main/resources/data/aciday/advancements/bronze_get.json b/src/main/resources/data/aciday/advancements/bronze_get.json new file mode 100644 index 0000000..5277e7c --- /dev/null +++ b/src/main/resources/data/aciday/advancements/bronze_get.json @@ -0,0 +1,29 @@ +{ + "display": { + "icon": { + "item": "aciday:bronze_ingot" + }, + "title": { + "bold": false, + "translate": "advancements.aciday.bronze" + }, + "description": { + "translate": "advancements.aciday.bronze.description" + } + }, + "parent": "aciday:root", + "criteria": { + "bronze_in_inventory": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "aciday:bronze_ingot" + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/aciday/advancements/root.json b/src/main/resources/data/aciday/advancements/root.json new file mode 100644 index 0000000..02762e8 --- /dev/null +++ b/src/main/resources/data/aciday/advancements/root.json @@ -0,0 +1,29 @@ +{ + "display": { + "icon": { + "item": "aciday:debris" + }, + "title": { + "bold": true, + "translate": "itemGroup.aciday" + }, + "description": { + "translate": "advancements.aciday.debris.description" + }, + "background": "aciday:textures/gui/advancements.png" + }, + "criteria": { + "debris_in_inventory": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "aciday:debris" + ] + } + ] + } + } + } +} \ No newline at end of file diff --git a/src/main/resources/data/aciday/advancements/smooth_debris_block.json b/src/main/resources/data/aciday/advancements/smooth_debris_block.json new file mode 100644 index 0000000..04aa2f0 --- /dev/null +++ b/src/main/resources/data/aciday/advancements/smooth_debris_block.json @@ -0,0 +1,29 @@ +{ + "display": { + "icon": { + "item": "aciday:smooth_debris_block" + }, + "title": { + "bold": false, + "translate": "advancements.aciday.smooth_debris_block" + }, + "description": { + "translate": "advancements.aciday.smooth_debris_block.description" + } + }, + "parent": "aciday:root", + "criteria": { + "bronze_in_inventory": { + "trigger": "minecraft:inventory_changed", + "conditions": { + "items": [ + { + "items": [ + "aciday:smooth_debris_block" + ] + } + ] + } + } + } +} \ No newline at end of file