aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity/IRedstoneReceiver.java
diff options
context:
space:
mode:
authorShawn Buckley <shawntbuckley@gmail.com>2015-10-21 20:46:52 -0400
committerShawn Buckley <shawntbuckley@gmail.com>2015-10-21 20:46:52 -0400
commit1185424fa7c692f9932623b965a99392d969e3c5 (patch)
tree39e19727dac27a4eff09a036fc27a1ee827d18a7 /src/main/java/gregtech/api/interfaces/tileentity/IRedstoneReceiver.java
parent9d85f43d5642c7683ad2877c66c6fc70b5be8928 (diff)
downloadGT5-Unofficial-1185424fa7c692f9932623b965a99392d969e3c5.tar.gz
GT5-Unofficial-1185424fa7c692f9932623b965a99392d969e3c5.tar.bz2
GT5-Unofficial-1185424fa7c692f9932623b965a99392d969e3c5.zip
Move source files
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/tileentity/IRedstoneReceiver.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/tileentity/IRedstoneReceiver.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IRedstoneReceiver.java b/src/main/java/gregtech/api/interfaces/tileentity/IRedstoneReceiver.java
new file mode 100644
index 0000000000..f4c63c803e
--- /dev/null
+++ b/src/main/java/gregtech/api/interfaces/tileentity/IRedstoneReceiver.java
@@ -0,0 +1,29 @@
+package gregtech.api.interfaces.tileentity;
+
+/**
+ * This File has just internal Information about the Redstone State of a TileEntity
+ */
+public interface IRedstoneReceiver extends IHasWorldObjectAndCoords {
+ /**
+ * gets the Redstone Level of the TileEntity to the given Input Side
+ *
+ * Do not use this if ICoverable is implemented. ICoverable has @getInternalInputRedstoneSignal for Machine internal Input Redstone
+ * This returns the true incoming Redstone Signal. Only Cover Behaviors should check it, not MetaTileEntities.
+ */
+ public byte getInputRedstoneSignal(byte aSide);
+
+ /**
+ * gets the strongest Redstone Level the TileEntity receives
+ */
+ public byte getStrongestRedstone();
+
+ /**
+ * gets if the TileEntity receives Redstone
+ */
+ public boolean getRedstone();
+
+ /**
+ * gets if the TileEntity receives Redstone at this Side
+ */
+ public boolean getRedstone(byte aSide);
+} \ No newline at end of file