aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
diff options
context:
space:
mode:
authorJason Mitchell <mitchej@gmail.com>2019-07-15 19:47:31 -0700
committerJason Mitchell <mitchej@gmail.com>2019-07-15 19:47:31 -0700
commit1b7d5e176ec01d7b8fec464371b3e79144fffa8a (patch)
tree1ac96357da37d59d8ebe24add96d0c81368c0a27 /src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
parent30715b1438568a7594cbd7ef03e70f93adc76bdf (diff)
downloadGT5-Unofficial-1b7d5e176ec01d7b8fec464371b3e79144fffa8a.tar.gz
GT5-Unofficial-1b7d5e176ec01d7b8fec464371b3e79144fffa8a.tar.bz2
GT5-Unofficial-1b7d5e176ec01d7b8fec464371b3e79144fffa8a.zip
IC2 ENet compat for GT transformers & GT cables
* Fixes every face of ic2 nuclear reactors giving full energy * Should reduce performance concerns from previous ic2 energy compat * Removes Tec's workaround
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity/MetaTileEntity.java')
-rw-r--r--src/main/java/gregtech/api/metatileentity/MetaTileEntity.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java b/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
index 5aced1f177..e7c35e9b08 100644
--- a/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
+++ b/src/main/java/gregtech/api/metatileentity/MetaTileEntity.java
@@ -43,7 +43,7 @@ import static gregtech.api.enums.GT_Values.V;
* Call the Constructor like the following example inside the Load Phase, to register it.
* "new GT_MetaTileEntity_E_Furnace(54, "GT_E_Furnace", "Automatic E-Furnace");"
*/
-public abstract class MetaTileEntity implements IMetaTileEntity {
+public abstract class MetaTileEntity implements IMetaTileEntity {
/**
* Only assigned for the MetaTileEntity in the List! Also only used to get the localized Name for the ItemStack and for getInvName.
*/
@@ -86,10 +86,6 @@ 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);
-// }
}
/**
@@ -936,4 +932,6 @@ public abstract class MetaTileEntity implements IMetaTileEntity {
public String getAlternativeModeText(){
return "";
}
+
+ public boolean shouldJoinIc2Enet() { return false; }
}