aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/tileentity
diff options
context:
space:
mode:
authormiozune <miozune@gmail.com>2023-06-11 02:19:54 +0900
committerGitHub <noreply@github.com>2023-06-10 19:19:54 +0200
commit8e3c8829d737d92da5503bd34d0c51130b6b3f00 (patch)
tree54c64a99c847aa900024f065b51a4caf80f61115 /src/main/java/gregtech/api/interfaces/tileentity
parent7a4acc4ef1d944a321945b6d565843005fc88dce (diff)
downloadGT5-Unofficial-8e3c8829d737d92da5503bd34d0c51130b6b3f00.tar.gz
GT5-Unofficial-8e3c8829d737d92da5503bd34d0c51130b6b3f00.tar.bz2
GT5-Unofficial-8e3c8829d737d92da5503bd34d0c51130b6b3f00.zip
Enable input separation by default if it's supported (#2072)
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/tileentity')
-rw-r--r--src/main/java/gregtech/api/interfaces/tileentity/IVoidable.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/interfaces/tileentity/IVoidable.java b/src/main/java/gregtech/api/interfaces/tileentity/IVoidable.java
index d6325e8597..f4467a2e8c 100644
--- a/src/main/java/gregtech/api/interfaces/tileentity/IVoidable.java
+++ b/src/main/java/gregtech/api/interfaces/tileentity/IVoidable.java
@@ -36,6 +36,10 @@ public interface IVoidable {
void setVoidingMode(VoidingMode mode);
+ default VoidingMode getDefaultVoidingMode() {
+ return supportsVoidProtection() ? VoidingMode.VOID_NONE : VoidingMode.VOID_ALL;
+ }
+
/**
* @param toOutput List of items this machine is going to output.
* @return List of slots available for item outputs. Null element represents empty slot.