From 8d54614a9d5743111bfe297d8711fca10dc2acb1 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 10 Jul 2015 13:34:59 +0200 Subject: [PATCH] Localized the Treasure Chest --- .../ellpeck/actuallyadditions/blocks/BlockTreasureChest.java | 4 ++-- .../java/ellpeck/actuallyadditions/creative/CreativeTab.java | 1 + src/main/resources/assets/actuallyadditions/lang/en_US.lang | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/ellpeck/actuallyadditions/blocks/BlockTreasureChest.java b/src/main/java/ellpeck/actuallyadditions/blocks/BlockTreasureChest.java index 073434d8d..f8f7ead60 100644 --- a/src/main/java/ellpeck/actuallyadditions/blocks/BlockTreasureChest.java +++ b/src/main/java/ellpeck/actuallyadditions/blocks/BlockTreasureChest.java @@ -153,8 +153,8 @@ public class BlockTreasureChest extends Block implements INameableItem{ @Override @SuppressWarnings("unchecked") @SideOnly(Side.CLIENT) - public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean isHeld) { - BlockUtil.addInformation(theBlock, list, 1, ""); + public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean isHeld){ + BlockUtil.addInformation(theBlock, list, 2, ""); } @Override diff --git a/src/main/java/ellpeck/actuallyadditions/creative/CreativeTab.java b/src/main/java/ellpeck/actuallyadditions/creative/CreativeTab.java index 38bddaae7..a00d221f8 100644 --- a/src/main/java/ellpeck/actuallyadditions/creative/CreativeTab.java +++ b/src/main/java/ellpeck/actuallyadditions/creative/CreativeTab.java @@ -72,6 +72,7 @@ public class CreativeTab extends CreativeTabs{ add(InitBlocks.blockTestifiBucksWhiteSlab); add(InitBlocks.blockColoredLamp); add(InitBlocks.blockLampPowerer); + add(InitBlocks.blockTreasureChest); add(InitItems.itemDrill); add(InitItems.itemDrillUpgradeSpeed); diff --git a/src/main/resources/assets/actuallyadditions/lang/en_US.lang b/src/main/resources/assets/actuallyadditions/lang/en_US.lang index 4331f1dbf..ddd6aba6f 100644 --- a/src/main/resources/assets/actuallyadditions/lang/en_US.lang +++ b/src/main/resources/assets/actuallyadditions/lang/en_US.lang @@ -193,6 +193,10 @@ item.actuallyadditions.itemResonantRice.name=Resonant Rice tooltip.actuallyadditions.itemResonantRice.desc=Don't know what it does... maybe if you right-click it? tooltip.actuallyadditions.itemResonantRice.uncraftable.desc=Uncraftable because there's no Mod installed that adds Enderium :( +tile.actuallyadditions.blockTreasureChest.name=Treasure Chest +tooltip.actuallyadditions.blockTreasureChest.desc.1=A Chest found on the Ground of Deep Ocean Biomes +tooltip.actuallyadditions.blockTreasureChest.desc.2=Maybe you'll get something awesome when you Right-Click it? + tile.actuallyadditions.blockCanolaPress.name=Canola Press tooltip.actuallyadditions.blockCanolaPress.desc=Makes Canola Oil from Canola tile.actuallyadditions.blockFermentingBarrel.name=Fermenting Barrel @@ -542,6 +546,7 @@ container.actuallyadditions.enervator.name=Enervator container.nei.actuallyadditions.crushing.name=Crusher container.nei.actuallyadditions.ballOfHair.name=Ball Of Hair Usage container.nei.actuallyadditions.compost.name=Compost +container.nei.actuallyadditions.treasureChest.name=Treasure Chest container.nei.actuallyadditions.coffee.name=Coffee Machine container.nei.actuallyadditions.coffee.special=Special Feature