Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Commit

Permalink
Added the advancements
Browse files Browse the repository at this point in the history
  • Loading branch information
Casper233 committed Dec 29, 2022
1 parent 6e285b5 commit 01772b9
Show file tree
Hide file tree
Showing 9 changed files with 116 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@

本Mod若要联机游玩,需要在服务端和客户端同时安装

***

## 更新日志

**2022-12-29-1**
#### 添加了成就/进度

**2022-12-27-2**
#### 添加了以下物品/方块,并添加了与其有关的合成表:
- 平滑碎片块
Expand Down
5 changes: 5 additions & 0 deletions readme_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 9 additions & 1 deletion src/main/resources/assets/aciday/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"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",
"block.aciday.bronze_block": "Bronze Block",
"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"
}
10 changes: 9 additions & 1 deletion src/main/resources/assets/aciday/lang/zh_cn.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
{
"item.aciday.debris": "碎片",
"item.aciday.bronze_ingot": "青铜锭",

"block.aciday.debris_ore": "碎片矿石",
"block.aciday.bronze_ore": "青铜矿石",
"block.aciday.debris_block": "碎片块",
"block.aciday.bronze_block": "青铜块",
"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": "获得平滑碎片块"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions src/main/resources/data/aciday/advancements/bronze_get.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
]
}
}
}
}
29 changes: 29 additions & 0 deletions src/main/resources/data/aciday/advancements/root.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -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"
]
}
]
}
}
}
}

0 comments on commit 01772b9

Please sign in to comment.