aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java b/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
index 91219368b7..0eea6ca3a4 100644
--- a/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
+++ b/src/main/java/gregtech/api/interfaces/IRedstoneCircuitBlock.java
@@ -2,6 +2,7 @@ package gregtech.api.interfaces;
import net.minecraft.block.Block;
import net.minecraft.tileentity.TileEntity;
+import net.minecraftforge.common.util.ForgeDirection;
import gregtech.api.interfaces.tileentity.ICoverable;
import gregtech.api.util.GT_CoverBehavior;
@@ -14,47 +15,47 @@ public interface IRedstoneCircuitBlock {
/**
* The Output Direction the Circuit Block is Facing
*/
- byte getOutputFacing();
+ ForgeDirection getOutputFacing();
/**
* sets Output Redstone State at Side
*/
- boolean setRedstone(byte aStrength, byte aSide);
+ boolean setRedstone(byte aStrength, ForgeDirection side);
/**
* 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
*/
- byte getOutputRedstone(byte aSide);
+ byte getOutputRedstone(ForgeDirection side);
/**
* returns Input Redstone Signal at Side
*/
- byte getInputRedstone(byte aSide);
+ byte getInputRedstone(ForgeDirection side);
/**
* If this Side is Covered up and therefor not doing any Redstone
*/
- GT_CoverBehavior getCover(byte aSide);
+ GT_CoverBehavior getCover(ForgeDirection side);
- int getCoverID(byte aSide);
+ int getCoverID(ForgeDirection side);
- int getCoverVariable(byte aSide);
+ int getCoverVariable(ForgeDirection side);
/**
* returns whatever Block-ID is adjacent to the Redstone Circuit Block
*/
- Block getBlockAtSide(byte aSide);
+ Block getBlockAtSide(ForgeDirection side);
/**
* returns whatever Meta-Value is adjacent to the Redstone Circuit Block
*/
- byte getMetaIDAtSide(byte aSide);
+ byte getMetaIDAtSide(ForgeDirection side);
/**
* returns whatever TileEntity is adjacent to the Redstone Circuit Block
*/
- TileEntity getTileEntityAtSide(byte aSide);
+ TileEntity getTileEntityAtSide(ForgeDirection side);
/**
* returns whatever TileEntity is used by the Redstone Circuit Block