I don't think it needed that interface.

This commit is contained in:
Ben Spiers 2013-09-23 00:05:50 +01:00
parent df80d749ab
commit 0e01a0b132
2 changed files with 1 additions and 23 deletions

View file

@ -23,7 +23,6 @@ public class MultipartRI implements IPartFactory
MultipartGenerator.registerPassThroughInterface("universalelectricity.core.block.IConductor");
//MultipartGenerator.registerPassThroughInterface("ic2.api.energy.tile.IEnergySink");
MultipartGenerator.registerPassThroughInterface("buildcraft.api.power.IPowerReceptor");
MultipartGenerator.registerPassThroughInterface("resonantinduction.base.IPacketReceiver");
MultipartGenerator.registerPassThroughInterface("resonantinduction.wire.IInsulatedMaterial");
}

View file

@ -60,7 +60,7 @@ import codechicken.multipart.handler.MultipartProxy;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class PartWire extends PartUniversalConductor implements IPacketReceiver, TSlottedPart, JNormalOcclusion, IHollowConnect, IInsulatedMaterial
public class PartWire extends PartUniversalConductor implements TSlottedPart, JNormalOcclusion, IHollowConnect, IInsulatedMaterial
{
public static final int DEFAULT_COLOR = 16;
public int dyeID = DEFAULT_COLOR;
@ -219,21 +219,6 @@ public class PartWire extends PartUniversalConductor implements IPacketReceiver,
this.material = EnumWireMaterial.values()[id];
}
@Override
public void handle(ByteArrayDataInput input)
{
try
{
this.isInsulated = input.readBoolean();
this.dyeID = input.readInt();
this.isTick = input.readBoolean();
}
catch (Exception e)
{
e.printStackTrace();
}
}
/**
* Furnace connection for tick wires
*/
@ -258,12 +243,6 @@ public class PartWire extends PartUniversalConductor implements IPacketReceiver,
return this.adjacentConnections;
}
@Override
public ArrayList getNetworkedData(ArrayList data)
{
return null;
}
@Override
public void doWork(PowerHandler workProvider)
{