From a679d46c576e5a62855fbfd8a35dd8cac3bc83be Mon Sep 17 00:00:00 2001 From: mezz Date: Sun, 15 Feb 2015 13:41:14 -0800 Subject: [PATCH] Remove unused methods in TileMachine --- .../forestry/core/gadgets/TileMachine.java | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/src/main/java/forestry/core/gadgets/TileMachine.java b/src/main/java/forestry/core/gadgets/TileMachine.java index 54491cbf8..4d0be6c11 100755 --- a/src/main/java/forestry/core/gadgets/TileMachine.java +++ b/src/main/java/forestry/core/gadgets/TileMachine.java @@ -15,7 +15,6 @@ import java.util.HashMap; import net.minecraft.block.Block; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; -import net.minecraft.world.IBlockAccess; import forestry.api.core.EnumHumidity; import forestry.api.core.EnumTemperature; @@ -86,9 +85,6 @@ public abstract class TileMachine extends TileForestry implements IClimatised, I return true; } - protected void createMachine() { - } - int oldkind; NBTTagCompound olddata; @@ -105,16 +101,6 @@ public abstract class TileMachine extends TileForestry implements IClimatised, I } - @Override - public void updateEntity() { - - super.updateEntity(); - } - - @Override - public void onRemoval() { - } - /** * Read saved data */ @@ -252,10 +238,6 @@ public abstract class TileMachine extends TileForestry implements IClimatised, I return false; } - public int getChargeReceivedScaled(int i) { - return 0; - } - public static EnumTankLevel rateTankLevel(int scaled) { if (scaled < 5) { @@ -271,16 +253,6 @@ public abstract class TileMachine extends TileForestry implements IClimatised, I } } - // / REDSTONE SIGNALS - public boolean isIndirectlyPoweringTo(IBlockAccess world, int i, int j, int k, int l) { - return false; - } - - public boolean isPoweringTo(IBlockAccess iblockaccess, int i, int j, int k, int l) { - return false; - } - - // INETWORKEDTILE IMPLEMENTATION @Override public PacketPayload getPacketPayload() { @@ -290,8 +262,4 @@ public abstract class TileMachine extends TileForestry implements IClimatised, I @Override public void fromPacketPayload(PacketPayload payload) { } - - // NEIGHBOUR CHANGE - public void onNeighborBlockChange() { - } }