From 19831a635f94773c194b5befe9d494a515906e89 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 3 Jan 2024 22:59:58 +0100 Subject: [PATCH] Added translations and fixed the loot table for some of the doors --- src/main/resources/assets/unicopia/lang/en_us.json | 4 ++++ ...k_stable_door.json => dark_oak_stable_door.json} | 4 ++-- .../data/unicopia/recipes/blocks/cloud_door.json | 13 +++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) rename src/main/resources/data/unicopia/loot_tables/blocks/{darK_oak_stable_door.json => dark_oak_stable_door.json} (82%) create mode 100644 src/main/resources/data/unicopia/recipes/blocks/cloud_door.json diff --git a/src/main/resources/assets/unicopia/lang/en_us.json b/src/main/resources/assets/unicopia/lang/en_us.json index d2808a2d..fe458ff4 100644 --- a/src/main/resources/assets/unicopia/lang/en_us.json +++ b/src/main/resources/assets/unicopia/lang/en_us.json @@ -308,6 +308,10 @@ "block.unicopia.cloud_bed": "Cloud Bed", "block.unicopia.cloud_chest": "Cloudsdale Chest", "block.unicopia.cloud_chest.double": "Large Cloudsdale Chest", + "block.unicopia.cloud_door": "Cloud Door", + "block.unicopia.crystal_door": "Crystal Door", + "block.unicopia.stable_door": "Stable Door", + "block.unicopia.dark_oak_stable_door": "Wooden Stable Door", "block.unicopia.oats": "Oats", "block.unicopia.oats_stem": "Oats", diff --git a/src/main/resources/data/unicopia/loot_tables/blocks/darK_oak_stable_door.json b/src/main/resources/data/unicopia/loot_tables/blocks/dark_oak_stable_door.json similarity index 82% rename from src/main/resources/data/unicopia/loot_tables/blocks/darK_oak_stable_door.json rename to src/main/resources/data/unicopia/loot_tables/blocks/dark_oak_stable_door.json index f758c3e2..eb337eb8 100644 --- a/src/main/resources/data/unicopia/loot_tables/blocks/darK_oak_stable_door.json +++ b/src/main/resources/data/unicopia/loot_tables/blocks/dark_oak_stable_door.json @@ -13,14 +13,14 @@ "type": "minecraft:item", "conditions": [ { - "block": "unicopia:darK_oak_stable_door", + "block": "unicopia:dark_oak_stable_door", "condition": "minecraft:block_state_property", "properties": { "half": "lower" } } ], - "name": "unicopia:darK_oak_stable_door" + "name": "unicopia:dark_oak_stable_door" } ], "rolls": 1.0 diff --git a/src/main/resources/data/unicopia/recipes/blocks/cloud_door.json b/src/main/resources/data/unicopia/recipes/blocks/cloud_door.json new file mode 100644 index 00000000..59d66aba --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/blocks/cloud_door.json @@ -0,0 +1,13 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "##", + "##" + ], + "key": { + "#": [ + { "item": "unicopia:cloud_block" } + ] + }, + "result": { "item": "unicopia:cloud_door", "count": 1 } +}