I don't think it needed that interface.
This commit is contained in:
parent
df80d749ab
commit
0e01a0b132
2 changed files with 1 additions and 23 deletions
|
@ -23,7 +23,6 @@ public class MultipartRI implements IPartFactory
|
||||||
MultipartGenerator.registerPassThroughInterface("universalelectricity.core.block.IConductor");
|
MultipartGenerator.registerPassThroughInterface("universalelectricity.core.block.IConductor");
|
||||||
//MultipartGenerator.registerPassThroughInterface("ic2.api.energy.tile.IEnergySink");
|
//MultipartGenerator.registerPassThroughInterface("ic2.api.energy.tile.IEnergySink");
|
||||||
MultipartGenerator.registerPassThroughInterface("buildcraft.api.power.IPowerReceptor");
|
MultipartGenerator.registerPassThroughInterface("buildcraft.api.power.IPowerReceptor");
|
||||||
MultipartGenerator.registerPassThroughInterface("resonantinduction.base.IPacketReceiver");
|
|
||||||
MultipartGenerator.registerPassThroughInterface("resonantinduction.wire.IInsulatedMaterial");
|
MultipartGenerator.registerPassThroughInterface("resonantinduction.wire.IInsulatedMaterial");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@ import codechicken.multipart.handler.MultipartProxy;
|
||||||
import cpw.mods.fml.relauncher.Side;
|
import cpw.mods.fml.relauncher.Side;
|
||||||
import cpw.mods.fml.relauncher.SideOnly;
|
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 static final int DEFAULT_COLOR = 16;
|
||||||
public int dyeID = DEFAULT_COLOR;
|
public int dyeID = DEFAULT_COLOR;
|
||||||
|
@ -219,21 +219,6 @@ public class PartWire extends PartUniversalConductor implements IPacketReceiver,
|
||||||
this.material = EnumWireMaterial.values()[id];
|
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
|
* Furnace connection for tick wires
|
||||||
*/
|
*/
|
||||||
|
@ -258,12 +243,6 @@ public class PartWire extends PartUniversalConductor implements IPacketReceiver,
|
||||||
return this.adjacentConnections;
|
return this.adjacentConnections;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public ArrayList getNetworkedData(ArrayList data)
|
|
||||||
{
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void doWork(PowerHandler workProvider)
|
public void doWork(PowerHandler workProvider)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue