From 7643220d4b00eca26594c2b8114e2bdcf33d7776 Mon Sep 17 00:00:00 2001 From: drcrazy Date: Sat, 11 Jul 2020 21:34:37 +0300 Subject: [PATCH] Stairs, Walls and Slabs got their names --- src/main/java/techreborn/init/TRContent.java | 24 +----- .../assets/techreborn/lang/en_us.json | 81 +++++++++++++++++++ 2 files changed, 84 insertions(+), 21 deletions(-) diff --git a/src/main/java/techreborn/init/TRContent.java b/src/main/java/techreborn/init/TRContent.java index c6f8e6fe5..2858a7af9 100644 --- a/src/main/java/techreborn/init/TRContent.java +++ b/src/main/java/techreborn/init/TRContent.java @@ -423,31 +423,13 @@ public class TRContent { block = new BlockStorage(); InitUtils.setup(block, name + "_storage_block"); - stairsBlock = new TechRebornStairsBlock(block.getDefaultState(), FabricBlockSettings.copyOf(block)) { - @Override - public String getTranslationKey() { - return block.getTranslationKey(); - } - }; - + stairsBlock = new TechRebornStairsBlock(block.getDefaultState(), FabricBlockSettings.copyOf(block)); InitUtils.setup(stairsBlock, name + "_storage_block_stairs"); - slabBlock = new SlabBlock(FabricBlockSettings.copyOf(block)) { - @Override - public String getTranslationKey() { - return block.getTranslationKey(); - } - }; - + slabBlock = new SlabBlock(FabricBlockSettings.copyOf(block)); InitUtils.setup(slabBlock, name + "_storage_block_slab"); - wallBlock = new WallBlock(FabricBlockSettings.copyOf(block)) { - @Override - public String getTranslationKey() { - return block.getTranslationKey(); - } - }; - + wallBlock = new WallBlock(FabricBlockSettings.copyOf(block)); InitUtils.setup(wallBlock, name + "_storage_block_wall"); } diff --git a/src/main/resources/assets/techreborn/lang/en_us.json b/src/main/resources/assets/techreborn/lang/en_us.json index bf6878530..0eac67ed0 100644 --- a/src/main/resources/assets/techreborn/lang/en_us.json +++ b/src/main/resources/assets/techreborn/lang/en_us.json @@ -131,32 +131,113 @@ "_comment3": "Storage", "block.techreborn.aluminum_storage_block": "Block of Aluminium", + "block.techreborn.aluminum_storage_block_stairs": "Aluminium Stairs", + "block.techreborn.aluminum_storage_block_slab": "Aluminium Slab", + "block.techreborn.aluminum_storage_block_wall": "Aluminium Wall", "block.techreborn.brass_storage_block": "Block of Brass", + "block.techreborn.brass_storage_block_stairs": "Brass Stairs", + "block.techreborn.brass_storage_block_slab": "Brass Slab", + "block.techreborn.brass_storage_block_wall": "Brass Wall", "block.techreborn.bronze_storage_block": "Block of Bronze", + "block.techreborn.bronze_storage_block_stairs": "Bronze Stairs", + "block.techreborn.bronze_storage_block_slab": "Bronze Slab", + "block.techreborn.bronze_storage_block_wall": "Bronze Wall", "block.techreborn.chrome_storage_block": "Block of Chrome", + "block.techreborn.chrome_storage_block_stairs": "Chrome Stairs", + "block.techreborn.chrome_storage_block_slab": "Chrome Slab", + "block.techreborn.chrome_storage_block_wall": "Chrome Wall", "block.techreborn.copper_storage_block": "Block of Copper", + "block.techreborn.copper_storage_block_stairs": "Copper Stairs", + "block.techreborn.copper_storage_block_slab": "Copper Slab", + "block.techreborn.copper_storage_block_wall": "Copper Wall", "block.techreborn.electrum_storage_block": "Block of Electrum", + "block.techreborn.electrum_storage_block_stairs": "Electrum Stairs", + "block.techreborn.electrum_storage_block_slab": "Electrum Slab", + "block.techreborn.electrum_storage_block_wall": "Electrum Wall", "block.techreborn.invar_storage_block": "Block of Invar", + "block.techreborn.invar_storage_block_stairs": "Invar Stairs", + "block.techreborn.invar_storage_block_slab": "Invar Slab", + "block.techreborn.invar_storage_block_wall": "Invar Wall", "block.techreborn.iridium_storage_block": "Block of Iridium", + "block.techreborn.iridium_storage_block_stairs": "Iridium Stairs", + "block.techreborn.iridium_storage_block_slab": "Iridium Slab", + "block.techreborn.iridium_storage_block_wall": "Iridium Wall", "block.techreborn.iridium_reinforced_stone_storage_block": "Iridium Reinforced Stone", + "block.techreborn.iridium_reinforced_stone_storage_block_stairs": "Iridium Reinforced Stone Stairs", + "block.techreborn.iridium_reinforced_stone_storage_block_slab": "Iridium Reinforced Stone Slab", + "block.techreborn.iridium_reinforced_stone_storage_block_wall": "Iridium Reinforced Stone Wall", "block.techreborn.iridium_reinforced_tungstensteel_storage_block": "Iridium Reinforced Tungstensteel Block", + "block.techreborn.iridium_reinforced_tungstensteel_storage_block_stairs": "Iridium Reinforced Tungstensteel Stairs", + "block.techreborn.iridium_reinforced_tungstensteel_storage_block_slab": "Iridium Reinforced Tungstensteel Slab", + "block.techreborn.iridium_reinforced_tungstensteel_storage_block_wall": "Iridium Reinforced Tungstensteel Wall", "block.techreborn.lead_storage_block": "Block of Lead", + "block.techreborn.lead_storage_block_stairs": "Lead Stairs", + "block.techreborn.lead_storage_block_slab": "Lead Slab", + "block.techreborn.lead_storage_block_wall": "Lead Wall", "block.techreborn.nickel_storage_block": "Block of Nickel", + "block.techreborn.nickel_storage_block_stairs": "Nickel Stairs", + "block.techreborn.nickel_storage_block_slab": "Nickel Slab", + "block.techreborn.nickel_storage_block_wall": "Nickel Wall", "block.techreborn.osmium_storage_block": "Block of Osmium", + "block.techreborn.osmium_storage_block_stairs": "Osmium Stairs", + "block.techreborn.osmium_storage_block_slab": "Osmium Slab", + "block.techreborn.osmium_storage_block_wall": "Osmium Wall", "block.techreborn.peridot_storage_block": "Block of Peridot", + "block.techreborn.peridot_storage_block_stairs": "Peridot Stairs", + "block.techreborn.peridot_storage_block_slab": "Peridot Slab", + "block.techreborn.peridot_storage_block_wall": "Peridot Wall", "block.techreborn.platinum_storage_block": "Block of Platinum", + "block.techreborn.platinum_storage_block_stairs": "Platinum Stairs", + "block.techreborn.platinum_storage_block_slab": "Platinum Slab", + "block.techreborn.platinum_storage_block_wall": "Platinum Wall", "block.techreborn.red_garnet_storage_block": "Block of Red Garnet", + "block.techreborn.red_garnet_storage_block_stairs": "Red Garnet Stairs", + "block.techreborn.red_garnet_storage_block_slab": "Red Garnet Slab", + "block.techreborn.red_garnet_storage_block_wall": "Red Garnet Wall", "block.techreborn.refined_iron_storage_block": "Block of Refined Iron", + "block.techreborn.refined_iron_storage_block_stairs": "Refined Iron Stairs", + "block.techreborn.refined_iron_storage_block_slab": "Refined Iron Slab", + "block.techreborn.refined_iron_storage_block_wall": "Refined Iron Wall", "block.techreborn.ruby_storage_block": "Block of Ruby", + "block.techreborn.ruby_storage_block_stairs": "Ruby Stairs", + "block.techreborn.ruby_storage_block_slab": "Ruby Slab", + "block.techreborn.ruby_storage_block_wall": "Ruby Wall", "block.techreborn.sapphire_storage_block": "Block of Sapphire", + "block.techreborn.sapphire_storage_block_stairs": "Sapphire Stairs", + "block.techreborn.sapphire_storage_block_slab": "Sapphire Slab", + "block.techreborn.sapphire_storage_block_wall": "Sapphire Wall", "block.techreborn.silver_storage_block": "Block of Silver", + "block.techreborn.silver_storage_block_stairs": "Silver Stairs", + "block.techreborn.silver_storage_block_slab": "Silver Slab", + "block.techreborn.silver_storage_block_wall": "Silver Wall", "block.techreborn.steel_storage_block": "Block of Steel", + "block.techreborn.steel_storage_block_stairs": "Steel Stairs", + "block.techreborn.steel_storage_block_slab": "Steel Slab", + "block.techreborn.steel_storage_block_wall": "Steel Wall", "block.techreborn.tin_storage_block": "Block of Tin", + "block.techreborn.tin_storage_block_stairs": "Tin Stairs", + "block.techreborn.tin_storage_block_slab": "Tin Slab", + "block.techreborn.tin_storage_block_wall": "Tin Wall", "block.techreborn.titanium_storage_block": "Block of Titanium", + "block.techreborn.titanium_storage_block_stairs": "Titanium Stairs", + "block.techreborn.titanium_storage_block_slab": "Titanium Slab", + "block.techreborn.titanium_storage_block_wall": "Titanium Wall", "block.techreborn.tungsten_storage_block": "Block of Tungsten", + "block.techreborn.tungsten_storage_block_stairs": "Tungsten Stairs", + "block.techreborn.tungsten_storage_block_slab": "Tungsten Slab", + "block.techreborn.tungsten_storage_block_wall": "Tungsten Wall", "block.techreborn.tungstensteel_storage_block": "Block of Tungstensteel", + "block.techreborn.tungstensteel_storage_block_stairs": "Tungstensteel Stairs", + "block.techreborn.tungstensteel_storage_block_slab": "Tungstensteel Slab", + "block.techreborn.tungstensteel_storage_block_wall": "Tungstensteel Wall", "block.techreborn.yellow_garnet_storage_block": "Block of Yellow Garnet", + "block.techreborn.yellow_garnet_storage_block_stairs": "Yellow Garnet Stairs", + "block.techreborn.yellow_garnet_storage_block_slab": "Yellow Garnet Slab", + "block.techreborn.yellow_garnet_storage_block_wall": "Yellow Garnet Wall", "block.techreborn.zinc_storage_block": "Block of Zinc", + "block.techreborn.zinc_storage_block_stairs": "Zinc Stairs", + "block.techreborn.zinc_storage_block_slab": "Zinc Slab", + "block.techreborn.zinc_storage_block_wall": "Zinc Wall", "_comment4": "Cables", "block.techreborn.copper_cable": "Copper Cable",