aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/logic/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/api/logic/interfaces')
-rw-r--r--src/main/java/gregtech/api/logic/interfaces/PollutionLogicHost.java8
-rw-r--r--src/main/java/gregtech/api/logic/interfaces/PowerLogicHost.java16
-rw-r--r--src/main/java/gregtech/api/logic/interfaces/ProcessingLogicHost.java8
3 files changed, 32 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/logic/interfaces/PollutionLogicHost.java b/src/main/java/gregtech/api/logic/interfaces/PollutionLogicHost.java
new file mode 100644
index 0000000000..657efbb74d
--- /dev/null
+++ b/src/main/java/gregtech/api/logic/interfaces/PollutionLogicHost.java
@@ -0,0 +1,8 @@
+package gregtech.api.logic.interfaces;
+
+import gregtech.api.logic.PollutionLogic;
+
+public interface PollutionLogicHost {
+
+ PollutionLogic getPollutionLogic();
+}
diff --git a/src/main/java/gregtech/api/logic/interfaces/PowerLogicHost.java b/src/main/java/gregtech/api/logic/interfaces/PowerLogicHost.java
new file mode 100644
index 0000000000..8e504674aa
--- /dev/null
+++ b/src/main/java/gregtech/api/logic/interfaces/PowerLogicHost.java
@@ -0,0 +1,16 @@
+package gregtech.api.logic.interfaces;
+
+import gregtech.api.logic.PowerLogic;
+
+public interface PowerLogicHost {
+
+ PowerLogic getPowerLogic(byte side);
+
+ default boolean isEnergyReceiver() {
+ return false;
+ }
+
+ default boolean isEnergyEmitter() {
+ return false;
+ }
+}
diff --git a/src/main/java/gregtech/api/logic/interfaces/ProcessingLogicHost.java b/src/main/java/gregtech/api/logic/interfaces/ProcessingLogicHost.java
new file mode 100644
index 0000000000..55418208b0
--- /dev/null
+++ b/src/main/java/gregtech/api/logic/interfaces/ProcessingLogicHost.java
@@ -0,0 +1,8 @@
+package gregtech.api.logic.interfaces;
+
+import gregtech.api.logic.ProcessingLogic;
+
+public interface ProcessingLogicHost {
+
+ ProcessingLogic getProcessingLogic();
+}