diff --git a/src/main/kotlin/io/github/robustum/teatopia/common/Teatopia.kt b/src/main/kotlin/io/github/robustum/teatopia/common/Teatopia.kt index f83204f..cb1892c 100644 --- a/src/main/kotlin/io/github/robustum/teatopia/common/Teatopia.kt +++ b/src/main/kotlin/io/github/robustum/teatopia/common/Teatopia.kt @@ -28,7 +28,13 @@ object Teatopia : ModInitializer { override fun onInitialize() { TeatopiaItems.freshTeaLeaf TeatopiaItems.teaSapling + TeatopiaItems.driedTeaLeaves + TeatopiaItems.usedTeaLeaves + TeatopiaItems.lightShieldingSheet TeatopiaBlocks.teaTree + TeatopiaBlocks.teaTreeSheet + TeatopiaBlocks.millStone + RESOURCE_PACK.addLang(id("en_us"), localeEn_Us) RRPCallback.BEFORE_VANILLA.register { it.add(RESOURCE_PACK) } } diff --git a/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaBlocks.kt b/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaBlocks.kt index 33bddb0..e255cd5 100644 --- a/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaBlocks.kt +++ b/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaBlocks.kt @@ -18,6 +18,13 @@ object TeatopiaBlocks { addBlock(TeaTreeBlock(), "tea_tree", "Tea Tree") } + val teaTreeSheet by lazy { + addBlock(TeaTreeBlock(), "tea_tree_sheet", "Tea Tree (Sheet)") + } + + val millStone by lazy { + addBlock(TeaTreeBlock(), "millstone", "millstone") + } val blockItems: Map get() = mutableBlockItems private val mutableBlockItems: MutableMap = mutableMapOf() diff --git a/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaItems.kt b/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaItems.kt index 54cb428..50af3ae 100644 --- a/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaItems.kt +++ b/src/main/kotlin/io/github/robustum/teatopia/common/TeatopiaItems.kt @@ -17,6 +17,19 @@ object TeatopiaItems { addSimpleItem("tea_sapling", "Tea Sapling") } + val driedTeaLeaves by lazy { + addSimpleItem("dried_tea_leaves", "Dried tea leaves ") + } + + val usedTeaLeaves by lazy { + addSimpleItem("used_tea_leaves", "Used tea leaves") + } + + val lightShieldingSheet by lazy { + addSimpleItem("light_shielding_sheet", "Light shielding sheet") + } + + private fun addSimpleItem(name: String, localizationEn: String): Item = addItem(Item(Item.Settings().group(Teatopia.itemGroup)), name, localizationEn) diff --git a/src/main/resources/assets/teatopia/lang/ja_jp.json b/src/main/resources/assets/teatopia/lang/ja_jp.json index e8f7026..8a14c4a 100644 --- a/src/main/resources/assets/teatopia/lang/ja_jp.json +++ b/src/main/resources/assets/teatopia/lang/ja_jp.json @@ -1,6 +1,11 @@ { "block.teatopia.tea_tree": "茶の木", + "block.teatopia.tea_tree_sheet": "シートを被せた茶の木", "item.teatopia.tea_tree": "茶の木", "item.teatopia.fresh_tea_leaf": "新鮮な茶葉", - "item.teatopia.tea_sapling": "茶の苗木" + "item.teatopia.tea_sapling": "茶の苗木", + "item.teatopia.dried_tea_leaves": "茶葉", + "item.teatopia.used_tea_leaves": "茶殻", + "item.teatopia.light_shielding_sheet": "遮光シート", + } \ No newline at end of file diff --git a/src/main/resources/assets/teatopia/textures/block/tea_leave_sheet_side.png b/src/main/resources/assets/teatopia/textures/block/tea_leave_sheet_side.png new file mode 100644 index 0000000..6604f9f Binary files /dev/null and b/src/main/resources/assets/teatopia/textures/block/tea_leave_sheet_side.png differ diff --git a/src/main/resources/assets/teatopia/textures/block/tea_leave_sheet_top.png b/src/main/resources/assets/teatopia/textures/block/tea_leave_sheet_top.png new file mode 100644 index 0000000..0e486b0 Binary files /dev/null and b/src/main/resources/assets/teatopia/textures/block/tea_leave_sheet_top.png differ