diff options
author | miozune <miozune@gmail.com> | 2023-06-11 02:19:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-10 19:19:54 +0200 |
commit | 8e3c8829d737d92da5503bd34d0c51130b6b3f00 (patch) | |
tree | 54c64a99c847aa900024f065b51a4caf80f61115 /src/main/java/gregtech/api/interfaces/tileentity | |
parent | 7a4acc4ef1d944a321945b6d565843005fc88dce (diff) | |
download | GT5-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.java | 4 |
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. |