aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/common/itemBlocks/IB_ItemProxySource.java
diff options
context:
space:
mode:
authorkekzdealer <kekzdealer@gmail.com>2020-05-12 19:48:19 +0200
committerkekzdealer <kekzdealer@gmail.com>2020-05-12 19:48:19 +0200
commitd8f485f3492a6e6df62f40a6b3218156bc244a28 (patch)
tree37491dce73117bc3a433819c50cfdab55223cbfd /src/main/java/common/itemBlocks/IB_ItemProxySource.java
parent19f896b417550249795079fbe8a815ed52ef419c (diff)
downloadGT5-Unofficial-d8f485f3492a6e6df62f40a6b3218156bc244a28.tar.gz
GT5-Unofficial-d8f485f3492a6e6df62f40a6b3218156bc244a28.tar.bz2
GT5-Unofficial-d8f485f3492a6e6df62f40a6b3218156bc244a28.zip
Improved options for localization for all Block tooltips
Diffstat (limited to 'src/main/java/common/itemBlocks/IB_ItemProxySource.java')
-rw-r--r--src/main/java/common/itemBlocks/IB_ItemProxySource.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/common/itemBlocks/IB_ItemProxySource.java b/src/main/java/common/itemBlocks/IB_ItemProxySource.java
index 1dc70efd6e..68ab1b00ff 100644
--- a/src/main/java/common/itemBlocks/IB_ItemProxySource.java
+++ b/src/main/java/common/itemBlocks/IB_ItemProxySource.java
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
+import net.minecraft.util.StatCollector;
public class IB_ItemProxySource extends ItemBlock {
@@ -13,11 +14,11 @@ public class IB_ItemProxySource extends ItemBlock {
super(block);
}
- @SuppressWarnings({ "rawtypes", "unchecked" })
+ @SuppressWarnings({"unchecked"})
@Override
public void addInformation(ItemStack stack, EntityPlayer player, List lines, boolean advancedTooltips) {
- lines.add("Point to an inventory to act as source for the item proxy network.");
- lines.add("Insert an Integrated Circuit to set the network channel.");
- lines.add("Only one source can use one channel on the same network.");
+ lines.add(StatCollector.translateToLocal("tile:kekztech_itemproxysource_block.0.desc"));
+ lines.add(StatCollector.translateToLocal("tile:kekztech_itemproxysource_block.1.desc"));
+ lines.add(StatCollector.translateToLocal("tile:kekztech_itemproxysource_block.2.desc"));
}
}