From a58d9b7ef8651f579f7c82cd986c94f75b984670 Mon Sep 17 00:00:00 2001 From: Mary <33456283+FourIsTheNumber@users.noreply.github.com> Date: Mon, 21 Oct 2024 11:11:59 -0400 Subject: Change extractor structure (#3393) Co-authored-by: chochem <40274384+chochem@users.noreply.github.com> --- .../machines/multi/MTEIndustrialExtractor.java | 28 ++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) (limited to 'src/main/java/gregtech/common/tileentities/machines') diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialExtractor.java b/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialExtractor.java index 40a87eecd7..a82e555547 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialExtractor.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/MTEIndustrialExtractor.java @@ -36,6 +36,7 @@ import gregtech.api.interfaces.metatileentity.IMetaTileEntity; import gregtech.api.interfaces.tileentity.IGregTechTileEntity; import gregtech.api.logic.ProcessingLogic; import gregtech.api.metatileentity.implementations.MTEExtendedPowerMultiBlockBase; +import gregtech.api.multitileentity.multiblock.casing.Glasses; import gregtech.api.recipe.RecipeMap; import gregtech.api.recipe.RecipeMaps; import gregtech.api.render.TextureFactory; @@ -53,18 +54,18 @@ public class MTEIndustrialExtractor extends MTEExtendedPowerMultiBlockBasebuilder() .addShape( STRUCTURE_PIECE_MAIN, - (new String[][] { { " A ", " BBB ", "AB~BA", " BBB " }, { " A ", " BBB ", "AB BA", " BBB " }, - { " A ", " BBB ", "AB BA", " BBB " }, { " A ", " BBB ", "ABBBA", " BBB " }, - { " A ", " A ", "AAAAA", " " } })) + (new String[][] { { "CCCCC", "C C", "C C", "C C", "CC~CC" }, + { "CCCCC", " BBB ", " AAA ", " BBB ", "CCCCC" }, { "CCCCC", " BBB ", " ABA ", " BBB ", "CCCCC" }, + { "CCCCC", " BBB ", " AAA ", " BBB ", "CCCCC" }, { "CCCCC", "C C", "C C", "C C", "CCCCC" } })) .addElement( - 'B', + 'C', buildHatchAdder(MTEIndustrialExtractor.class).atLeast(InputBus, OutputBus, Maintenance, Energy) .casingIndex(((BlockCasings4) GregTechAPI.sBlockCasings4).getTextureIndex(1)) .dot(1) .buildAndChain( onElementPass(MTEIndustrialExtractor::onCasingAdded, ofBlock(GregTechAPI.sBlockCasings4, 1)))) .addElement( - 'A', + 'B', ofBlocksTiered( MTEIndustrialExtractor::getItemPipeTierFromMeta, ImmutableList.of( @@ -79,6 +80,7 @@ public class MTEIndustrialExtractor extends MTEExtendedPowerMultiBlockBase= 22; + if (!checkPiece(STRUCTURE_PIECE_MAIN, 2, 4, 0)) return false; + return mCasingAmount >= 45; } @Override @@ -212,7 +215,8 @@ public class MTEIndustrialExtractor extends MTEExtendedPowerMultiBlockBase