aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
diff options
context:
space:
mode:
authorShawn Buckley <shawntbuckley@gmail.com>2015-10-21 22:15:09 -0400
committerShawn Buckley <shawntbuckley@gmail.com>2015-10-21 22:15:09 -0400
commit123aa6ed288b2f67b0d47177f4d27cd6893daf3a (patch)
tree358e3704182f5b6fda44fa8b20605ab63edca092 /src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
parent43ddecc7b9715d2038747566f89930b5db8d0181 (diff)
downloadGT5-Unofficial-123aa6ed288b2f67b0d47177f4d27cd6893daf3a.tar.gz
GT5-Unofficial-123aa6ed288b2f67b0d47177f4d27cd6893daf3a.tar.bz2
GT5-Unofficial-123aa6ed288b2f67b0d47177f4d27cd6893daf3a.zip
Reformat code
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java100
1 files changed, 50 insertions, 50 deletions
diff --git a/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java b/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
index 13c63b7555..8838992c62 100644
--- a/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
+++ b/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
@@ -9,58 +9,58 @@ import net.minecraft.tileentity.TileEntity;
* Implemented by the MetaTileEntity of the Redstone Circuit Block
*/
public interface IRedstoneCircuitBlock {
- /**
- * The Output Direction the Circuit Block is Facing
- */
+ /**
+ * The Output Direction the Circuit Block is Facing
+ */
public byte getOutputFacing();
-
+
/**
* sets Output Redstone State at Side
*/
- public boolean setRedstone(byte aStrength, byte aSide);
-
- /**
- * returns Output Redstone State at Side
- * Note that setRedstone checks if there is a Difference between the old and the new Setting before consuming any Energy
- */
- public byte getOutputRedstone(byte aSide);
-
- /**
- * returns Input Redstone Signal at Side
- */
- public byte getInputRedstone(byte aSide);
-
- /**
- * If this Side is Covered up and therefor not doing any Redstone
- */
- public GT_CoverBehavior getCover(byte aSide);
-
- public int getCoverID(byte aSide);
-
- public int getCoverVariable(byte aSide);
-
- /**
- * returns whatever Block-ID is adjacent to the Redstone Circuit Block
- */
- public Block getBlockAtSide(byte aSide);
-
- /**
- * returns whatever Meta-Value is adjacent to the Redstone Circuit Block
- */
- public byte getMetaIDAtSide(byte aSide);
-
- /**
- * returns whatever TileEntity is adjacent to the Redstone Circuit Block
- */
- public TileEntity getTileEntityAtSide(byte aSide);
-
- /**
- * returns whatever TileEntity is used by the Redstone Circuit Block
- */
- public ICoverable getOwnTileEntity();
-
- /**
- * returns worldObj.rand.nextInt(aRange)
- */
- public int getRandom(int aRange);
+ public boolean setRedstone(byte aStrength, byte aSide);
+
+ /**
+ * returns Output Redstone State at Side
+ * Note that setRedstone checks if there is a Difference between the old and the new Setting before consuming any Energy
+ */
+ public byte getOutputRedstone(byte aSide);
+
+ /**
+ * returns Input Redstone Signal at Side
+ */
+ public byte getInputRedstone(byte aSide);
+
+ /**
+ * If this Side is Covered up and therefor not doing any Redstone
+ */
+ public GT_CoverBehavior getCover(byte aSide);
+
+ public int getCoverID(byte aSide);
+
+ public int getCoverVariable(byte aSide);
+
+ /**
+ * returns whatever Block-ID is adjacent to the Redstone Circuit Block
+ */
+ public Block getBlockAtSide(byte aSide);
+
+ /**
+ * returns whatever Meta-Value is adjacent to the Redstone Circuit Block
+ */
+ public byte getMetaIDAtSide(byte aSide);
+
+ /**
+ * returns whatever TileEntity is adjacent to the Redstone Circuit Block
+ */
+ public TileEntity getTileEntityAtSide(byte aSide);
+
+ /**
+ * returns whatever TileEntity is used by the Redstone Circuit Block
+ */
+ public ICoverable getOwnTileEntity();
+
+ /**
+ * returns worldObj.rand.nextInt(aRange)
+ */
+ public int getRandom(int aRange);
}