diff --git a/electrical/src/main/java/resonantinduction/electrical/itemrailing/ItemRailNode.java b/electrical/src/main/java/resonantinduction/electrical/itemrailing/ItemRailNode.java index e178f0523..b0f183066 100644 --- a/electrical/src/main/java/resonantinduction/electrical/itemrailing/ItemRailNode.java +++ b/electrical/src/main/java/resonantinduction/electrical/itemrailing/ItemRailNode.java @@ -1,6 +1,8 @@ package resonantinduction.electrical.itemrailing; /** + * An object that handles being the node in a multiblock pipe structure + * * @since 16/03/14 * @author tgame14 */ diff --git a/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java b/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java index cd97499fc..12d04fad1 100644 --- a/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java +++ b/electrical/src/main/java/resonantinduction/electrical/itemrailing/PartRailing.java @@ -1,9 +1,70 @@ package resonantinduction.electrical.itemrailing; +import cpw.mods.fml.common.FMLCommonHandler; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraftforge.common.ForgeDirection; +import resonantinduction.core.prefab.part.PartFramedConnection; +import resonantinduction.electrical.Electrical; +import universalelectricity.api.energy.IConductor; +import universalelectricity.api.energy.IEnergyNetwork; +import universalelectricity.api.net.IConnector; + /** * @since 16/03/14 * @author tgame14 */ -public class PartRailing +public class PartRailing extends PartFramedConnection { + public enum EnumRailing + { + DEFAULT; + } + + public PartRailing() + { + super(Electrical.itemInsulation); + } + + @Override + protected boolean canConnectTo (TileEntity tile, ForgeDirection to) + { + return false; + } + + @Override + protected IConnector getConnector (TileEntity tile) + { + return null; + } + + @Override + public Object getNetwork () + { + return null; + } + + @Override + public void setNetwork (Object network) + { + + } + + @Override + public void setMaterial (int i) + { + + } + + @Override + protected ItemStack getItem () + { + return null; + } + + @Override + public String getType () + { + return null; + } } diff --git a/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/IItemRailNode.java b/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/IItemRailNode.java index c958e389d..67278ebbc 100644 --- a/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/IItemRailNode.java +++ b/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/IItemRailNode.java @@ -1,6 +1,8 @@ package resonantinduction.electrical.itemrailing.interfaces; /** + * implement this on any Multiblock + * * @since 16/03/14 * @author tgame14 */ diff --git a/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/package-info.java b/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/package-info.java index def3020e6..2ebfa2012 100644 --- a/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/package-info.java +++ b/electrical/src/main/java/resonantinduction/electrical/itemrailing/interfaces/package-info.java @@ -1,4 +1,6 @@ /** + * To be moved to Resonant Induction API + * * @since 16/03/14 * @author tgame14 */