aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java
diff options
context:
space:
mode:
authorTechnus <daniel112092@gmail.com>2020-04-15 19:01:06 +0200
committerTechnus <daniel112092@gmail.com>2020-04-15 19:01:06 +0200
commit4f30ef0f1abcb85d05170c769b757c3443e10d2b (patch)
tree1f7e5fa6ec36725c0e3c5f4897d3c0cdd6217aa5 /src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java
parent9b05c6573762117ab1b60ef195e8be321b6e2bb8 (diff)
downloadGT5-Unofficial-4f30ef0f1abcb85d05170c769b757c3443e10d2b.tar.gz
GT5-Unofficial-4f30ef0f1abcb85d05170c769b757c3443e10d2b.tar.bz2
GT5-Unofficial-4f30ef0f1abcb85d05170c769b757c3443e10d2b.zip
Refactor to fixed thread pool executor
Use actually something made for this task...
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java b/src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java
index c7f6fe5f23..31590f3d57 100644
--- a/src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java
+++ b/src/main/java/gregtech/api/interfaces/tileentity/IMachineBlockUpdateable.java
@@ -13,4 +13,11 @@ public interface IMachineBlockUpdateable {
* RP-Frames could for example cause Problems when you instacheck the Machine Parts.
*/
void onMachineBlockUpdate();
+
+ /**
+ * Should recurse?
+ */
+ default boolean isMachineBlockUpdateRecursive(){
+ return true;
+ }
}