a few changes
This commit is contained in:
parent
c2293c1d98
commit
c4ddca6d1f
4 changed files with 68 additions and 1 deletions
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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<PartRailing.EnumRailing, IConductor, IEnergyNetwork>
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
package resonantinduction.electrical.itemrailing.interfaces;
|
||||
|
||||
/**
|
||||
* implement this on any Multiblock
|
||||
*
|
||||
* @since 16/03/14
|
||||
* @author tgame14
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
/**
|
||||
* To be moved to Resonant Induction API
|
||||
*
|
||||
* @since 16/03/14
|
||||
* @author tgame14
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue