diff --git a/electrical/src/main/java/resonantinduction/electrical/itemrailing/ItemRailNode.java b/electrical/src/main/java/resonantinduction/electrical/itemrailing/ItemRailNode.java deleted file mode 100644 index b0f183066..000000000 --- a/electrical/src/main/java/resonantinduction/electrical/itemrailing/ItemRailNode.java +++ /dev/null @@ -1,11 +0,0 @@ -package resonantinduction.electrical.itemrailing; - -/** - * An object that handles being the node in a multiblock pipe structure - * - * @since 16/03/14 - * @author tgame14 - */ -public class ItemRailNode -{ -} diff --git a/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java b/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java index d60b8bb49..ce4f3eb96 100644 --- a/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java +++ b/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java @@ -1,5 +1,8 @@ package resonantinduction.electrical.itemrailing; +import codechicken.microblock.IHollowConnect; +import codechicken.multipart.JNormalOcclusion; +import codechicken.multipart.TSlottedPart; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.common.ForgeDirection; @@ -12,8 +15,32 @@ import universalelectricity.api.energy.IEnergyNetwork; * @since 16/03/14 * @author tgame14 */ -public class PartRailing extends PartFramedConnection +public class PartRailing extends PartFramedConnection implements IConductor, TSlottedPart, JNormalOcclusion, IHollowConnect { + @Override + public float getResistance () + { + return 0; + } + + @Override + public long getCurrentCapacity () + { + return 0; + } + + @Override + public long onReceiveEnergy (ForgeDirection from, long receive, boolean doReceive) + { + return 0; + } + + @Override + public long onExtractEnergy (ForgeDirection from, long extract, boolean doExtract) + { + return 0; + } + public enum EnumRailing { DEFAULT; @@ -24,6 +51,12 @@ public class PartRailing extends PartFramedConnection