aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java
diff options
context:
space:
mode:
authorTechlone <techlone.mc@gmail.com>2017-06-07 18:13:47 +0500
committerTechlone <techlone.mc@gmail.com>2017-06-07 18:13:47 +0500
commit38e12d554c23daee29fd2a9ee4e2d3989096c9a9 (patch)
treeb182895cb9a495a41b7ff2019d8b81de6e1c3c7c /src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java
parentdbd2f5800886a36dbe4528aabfb2b30f1e7b0908 (diff)
parent9032c2e15b7b9d7624e60bf4ead9f16ae680abe8 (diff)
downloadGT5-Unofficial-38e12d554c23daee29fd2a9ee4e2d3989096c9a9.tar.gz
GT5-Unofficial-38e12d554c23daee29fd2a9ee4e2d3989096c9a9.tar.bz2
GT5-Unofficial-38e12d554c23daee29fd2a9ee4e2d3989096c9a9.zip
Merge branch 'unstable' of https://github.com/Blood-Asp/GT5-Unofficial into unstable
Diffstat (limited to 'src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java')
-rw-r--r--src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java b/src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java
index c2fa1ab8ad..14d2db52dd 100644
--- a/src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java
+++ b/src/main/java/gregtech/api/gui/GT_ContainerMetaTile_Machine.java
@@ -3,6 +3,7 @@ package gregtech.api.gui;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
+import gregtech.api.util.GT_LanguageManager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.ICrafting;
@@ -182,4 +183,8 @@ public class GT_ContainerMetaTile_Machine extends GT_Container {
public boolean canInteractWith(EntityPlayer player) {
return mTileEntity.isUseableByPlayer(player);
}
+
+ public String trans(String aKey, String aEnglish){
+ return GT_LanguageManager.addStringLocalization("Interaction_DESCRIPTION_Index_"+aKey, aEnglish, false);
+ }
} \ No newline at end of file