aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
diff options
context:
space:
mode:
authorDaniel <daniel112092@gmail.com>2017-06-18 11:30:32 +0200
committerGitHub <noreply@github.com>2017-06-18 11:30:32 +0200
commit80a56026b16d49a18fd3d42a2d3dfa06de167c82 (patch)
tree8112db284de8e9240865e05577bd19c14ecc71f1 /src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
parentd7f24f3e68826adb1a15369628ded0744c123fca (diff)
parent6f7e5063c0552c01dcc412ca01f0a243776dd9a1 (diff)
downloadGT5-Unofficial-80a56026b16d49a18fd3d42a2d3dfa06de167c82.tar.gz
GT5-Unofficial-80a56026b16d49a18fd3d42a2d3dfa06de167c82.tar.bz2
GT5-Unofficial-80a56026b16d49a18fd3d42a2d3dfa06de167c82.zip
Merge pull request #26 from GTNewHorizons/reMerge
Re merge
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity/MetaTileEntity.java')
-rw-r--r--src/main/java/gregtech/api/metatileentity/MetaTileEntity.java25
1 files changed, 19 insertions, 6 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java b/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
index fd3eec16a6..040ad51828 100644
--- a/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
+++ b/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
@@ -32,7 +32,6 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
-import static gregtech.api.enums.GT_Values.GT;
import static gregtech.api.enums.GT_Values.V;
/**
@@ -86,10 +85,10 @@ public abstract class MetaTileEntity implements IMetaTileEntity {
GT_LanguageManager.addStringLocalization("gt.blockmachines." + mName + ".name", aRegionalName);
mInventory = new ItemStack[aInvSlotCount];
- //if (GT.isClientSide()) {
- //ItemStack tStack = new ItemStack(GregTech_API.sBlockMachines, 1, aID);
- //tStack.getItem().addInformation(tStack, null, new ArrayList<String>(), true);
- //}
+// if (GT.isClientSide()) {
+// ItemStack tStack = new ItemStack(GregTech_API.sBlockMachines, 1, aID);
+// tStack.getItem().addInformation(tStack, null, new ArrayList<String>(), true);
+// }
}
/**
@@ -887,4 +886,18 @@ public abstract class MetaTileEntity implements IMetaTileEntity {
public boolean allowGeneralRedstoneOutput(){
return false;
}
-} \ No newline at end of file
+
+ public String trans(String aKey, String aEnglish){
+ return GT_LanguageManager.addStringLocalization("Interaction_DESCRIPTION_Index_"+aKey, aEnglish, false);
+ }
+
+ @Override
+ public boolean hasAlternativeModeText(){
+ return false;
+ }
+
+ @Override
+ public String getAlternativeModeText(){
+ return "";
+ }
+}