diff options
author | Mary <33456283+FourIsTheNumber@users.noreply.github.com> | 2024-10-13 14:58:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-13 18:58:56 +0000 |
commit | 6c2b4eb54f09cbef6c12c7e956e9a0bac1ab3690 (patch) | |
tree | d6f17ff5b6fcadf401e7f8ff741746be2a5969cf /src/main/java/gregtech | |
parent | 9e3258b5608319346ba223da8286dc0b33eb340f (diff) | |
download | GT5-Unofficial-6c2b4eb54f09cbef6c12c7e956e9a0bac1ab3690.tar.gz GT5-Unofficial-6c2b4eb54f09cbef6c12c7e956e9a0bac1ab3690.tar.bz2 GT5-Unofficial-6c2b4eb54f09cbef6c12c7e956e9a0bac1ab3690.zip |
Allow input hatch on multiblock compressors (#3368)
Diffstat (limited to 'src/main/java/gregtech')
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEHIPCompressor.java b/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEHIPCompressor.java index 40550f2f34..cef6db5ba4 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEHIPCompressor.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEHIPCompressor.java @@ -93,7 +93,7 @@ public class MTEHIPCompressor extends MTEExtendedPowerMultiBlockBase<MTEHIPCompr .addElement('F', ofCoil(MTEHIPCompressor::setCoilLevel, MTEHIPCompressor::getCoilLevel)) .addElement( 'G', - buildHatchAdder(MTEHIPCompressor.class).atLeast(InputBus, OutputBus) + buildHatchAdder(MTEHIPCompressor.class).atLeast(InputBus, OutputBus, InputHatch) .casingIndex(((BlockCasings10) GregTechAPI.sBlockCasings10).getTextureIndex(5)) .dot(2) .buildAndChain(onElementPass(MTEHIPCompressor::onCasingAdded, ofBlock(GregTechAPI.sBlockCasings10, 5)))) @@ -276,6 +276,7 @@ public class MTEHIPCompressor extends MTEExtendedPowerMultiBlockBase<MTEHIPCompr .addCasingInfoExactly("Clean Stainless Steel Machine Casing", 20, false) .addCasingInfoExactly("Coil", 30, true) .addInputBus("Pipe Casings on Side", 2) + .addInputHatch("Pipe Casings on Side", 2) .addOutputBus("Pipe Casings on Side", 2) .addEnergyHatch("Any Electric Compressor Casing", 1) .addMaintenanceHatch("Any Electric Compressor Casing", 1) diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEIndustrialCompressor.java b/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEIndustrialCompressor.java index c887d1cf03..70d3ec7024 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEIndustrialCompressor.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/compressor/MTEIndustrialCompressor.java @@ -62,7 +62,7 @@ public class MTEIndustrialCompressor extends MTEExtendedPowerMultiBlockBase<MTEI //spotless:on .addElement( 'C', - buildHatchAdder(MTEIndustrialCompressor.class).atLeast(InputBus, OutputBus) + buildHatchAdder(MTEIndustrialCompressor.class).atLeast(InputBus, OutputBus, InputHatch) .casingIndex(((BlockCasings10) GregTechAPI.sBlockCasings10).getTextureIndex(5)) .dot(1) .buildAndChain( @@ -156,6 +156,7 @@ public class MTEIndustrialCompressor extends MTEExtendedPowerMultiBlockBase<MTEI .addCasingInfoMin("Compressor Pipe Casing", 45, false) .addCasingInfoExactly("EV+ Glass", 6, false) .addInputBus("Pipe Casings on Side", 2) + .addInputHatch("Pipe Casings on Side", 2) .addOutputBus("Pipe Casings on Side", 2) .addEnergyHatch("Any Electric Compressor Casing", 1) .addMaintenanceHatch("Any Electric Compressor Casing", 1) |