diff --git a/mechanical/src/main/java/resonantinduction/mechanical/logistic/TileRailing.java b/mechanical/src/main/java/resonantinduction/mechanical/logistic/TileRailing.java deleted file mode 100644 index 70ddf76a6..000000000 --- a/mechanical/src/main/java/resonantinduction/mechanical/logistic/TileRailing.java +++ /dev/null @@ -1,6 +0,0 @@ -package resonantinduction.mechanical.logistic; - -public class TileRailing -{ - -} diff --git a/mechanical/src/main/java/resonantinduction/mechanical/logistic/rail/RedstoneControl.java b/mechanical/src/main/java/resonantinduction/mechanical/logistic/rail/RedstoneControl.java new file mode 100644 index 000000000..d763a2e1d --- /dev/null +++ b/mechanical/src/main/java/resonantinduction/mechanical/logistic/rail/RedstoneControl.java @@ -0,0 +1,25 @@ +package resonantinduction.mechanical.logistic.rail; + +import net.minecraft.tileentity.TileEntity; + +public class RedstoneControl +{ + private TileEntity tile; + + /** + * Settings + */ + private byte input; + + private byte output; + + public RedstoneControl(TileEntity tile) + { + this.tile = tile; + } + + public boolean isActive() + { + return tile.worldObj.isBlockIndirectlyGettingPowered(tile.xCoord, tile.yCoord, tile.zCoord); + } +} diff --git a/mechanical/src/main/java/resonantinduction/mechanical/logistic/rail/TileRailing.java b/mechanical/src/main/java/resonantinduction/mechanical/logistic/rail/TileRailing.java new file mode 100644 index 000000000..e56b00df4 --- /dev/null +++ b/mechanical/src/main/java/resonantinduction/mechanical/logistic/rail/TileRailing.java @@ -0,0 +1,6 @@ +package resonantinduction.mechanical.logistic.rail; + +public class TileRailing +{ + +}