diff options
author | RecursivePineapple <recursive_pineapple@proton.me> | 2024-09-28 02:17:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-28 08:17:33 +0200 |
commit | 6a12f69212c14e325e292efa78c6dc721bdece0a (patch) | |
tree | 1b763548e9b0e15f2b5a0bedceeed39d456733a2 | |
parent | 96f2d080a9fb22670e71ead6310d1c4c4c137d15 (diff) | |
download | GT5-Unofficial-6a12f69212c14e325e292efa78c6dc721bdece0a.tar.gz GT5-Unofficial-6a12f69212c14e325e292efa78c6dc721bdece0a.tar.bz2 GT5-Unofficial-6a12f69212c14e325e292efa78c6dc721bdece0a.zip |
Remove steam blender hatches (#3293)
-rw-r--r-- | src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java index edbbb574ee..5ff2600847 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/processing/steam/MTESteamMixer.java @@ -82,7 +82,7 @@ public class MTESteamMixer extends MTESteamMultiBase<MTESteamMixer> implements I return "Mixer"; } - private static final String STRUCTUR_PIECE_MAIN = "main"; + private static final String STRUCTURE_PIECE_MAIN = "main"; private IStructureDefinition<MTESteamMixer> STRUCTURE_DEFINITION = null; // spotless:off @@ -181,7 +181,7 @@ public class MTESteamMixer extends MTESteamMultiBase<MTESteamMixer> implements I STRUCTURE_DEFINITION = StructureDefinition.<MTESteamMixer>builder() - .addShape(STRUCTUR_PIECE_MAIN, transpose(shape)) + .addShape(STRUCTURE_PIECE_MAIN, transpose(shape)) .addElement( 'B', ofBlocksTiered( @@ -230,14 +230,20 @@ public class MTESteamMixer extends MTESteamMultiBase<MTESteamMixer> implements I @Override public void construct(ItemStack stackSize, boolean hintsOnly) { - this.buildPiece(STRUCTUR_PIECE_MAIN, stackSize, hintsOnly, HORIZONTAL_OFF_SET, VERTICAL_OFF_SET, DEPTH_OFF_SET); + this.buildPiece( + STRUCTURE_PIECE_MAIN, + stackSize, + hintsOnly, + HORIZONTAL_OFF_SET, + VERTICAL_OFF_SET, + DEPTH_OFF_SET); } @Override public int survivalConstruct(ItemStack stackSize, int elementBudget, ISurvivalBuildEnvironment env) { if (this.mMachine) return -1; return this.survivialBuildPiece( - STRUCTUR_PIECE_MAIN, + STRUCTURE_PIECE_MAIN, stackSize, HORIZONTAL_OFF_SET, VERTICAL_OFF_SET, @@ -254,16 +260,12 @@ public class MTESteamMixer extends MTESteamMultiBase<MTESteamMixer> implements I tierPipeCasing = -1; tierMachineCasing = -1; tCountCasing = 0; - if (!checkPiece(STRUCTUR_PIECE_MAIN, HORIZONTAL_OFF_SET, VERTICAL_OFF_SET, DEPTH_OFF_SET)) return false; + if (!checkPiece(STRUCTURE_PIECE_MAIN, HORIZONTAL_OFF_SET, VERTICAL_OFF_SET, DEPTH_OFF_SET)) return false; if (tierGearBoxCasing < 0 && tierPipeCasing < 0 && tierMachineCasing < 0) return false; if (tierGearBoxCasing == 1 && tierPipeCasing == 1 && tierMachineCasing == 1 && tCountCasing >= 90 - && !mSteamInputFluids.isEmpty() - && !mSteamInputs.isEmpty() - && !mSteamOutputs.isEmpty() - && !mInputHatches.isEmpty() - && !mOutputHatches.isEmpty()) { + && !mSteamInputFluids.isEmpty()) { updateHatchTexture(); tierMachine = 1; return true; @@ -271,11 +273,7 @@ public class MTESteamMixer extends MTESteamMultiBase<MTESteamMixer> implements I if (tierGearBoxCasing == 2 && tierPipeCasing == 2 && tierMachineCasing == 2 && tCountCasing >= 90 - && !mSteamInputFluids.isEmpty() - && !mSteamInputs.isEmpty() - && !mSteamOutputs.isEmpty() - && !mInputHatches.isEmpty() - && !mOutputHatches.isEmpty()) { + && !mSteamInputFluids.isEmpty()) { updateHatchTexture(); tierMachine = 2; return true; |