diff options
| author | Raven Szewczyk <git@eigenraven.me> | 2023-04-10 17:49:16 +0100 |
|---|---|---|
| committer | Raven Szewczyk <git@eigenraven.me> | 2023-04-10 17:49:16 +0100 |
| commit | 8ac58626bd4caa9e49f58acc6b97ac031f6c2107 (patch) | |
| tree | 0a8c7b737f1f2607fa6875309f4c6a5c2b8b3331 /src/main/java/gregtech/common/tileentities/machines/multi | |
| parent | d795cf740c3b48b602d3bfb708ed9e6c492ad37d (diff) | |
| download | GT5-Unofficial-8ac58626bd4caa9e49f58acc6b97ac031f6c2107.tar.gz GT5-Unofficial-8ac58626bd4caa9e49f58acc6b97ac031f6c2107.tar.bz2 GT5-Unofficial-8ac58626bd4caa9e49f58acc6b97ac031f6c2107.zip | |
Update spotless config to 0.2.2
Diffstat (limited to 'src/main/java/gregtech/common/tileentities/machines/multi')
40 files changed, 4074 insertions, 5092 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AbstractMultiFurnace.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AbstractMultiFurnace.java index 51c7c2eb13..01638c4427 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AbstractMultiFurnace.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AbstractMultiFurnace.java @@ -7,7 +7,7 @@ import gregtech.api.interfaces.tileentity.IGregTechTileEntity; import gregtech.api.metatileentity.implementations.GT_MetaTileEntity_EnhancedMultiBlockBase; public abstract class GT_MetaTileEntity_AbstractMultiFurnace<T extends GT_MetaTileEntity_AbstractMultiFurnace<T>> - extends GT_MetaTileEntity_EnhancedMultiBlockBase<T> { + extends GT_MetaTileEntity_EnhancedMultiBlockBase<T> { private HeatingCoilLevel mCoilLevel; @@ -26,9 +26,9 @@ public abstract class GT_MetaTileEntity_AbstractMultiFurnace<T extends GT_MetaTi protected boolean addBottomHatch(IGregTechTileEntity aTileEntity, int aBaseCasingIndex) { return addMaintenanceToMachineList(aTileEntity, aBaseCasingIndex) - || addInputToMachineList(aTileEntity, aBaseCasingIndex) - || addOutputToMachineList(aTileEntity, aBaseCasingIndex) - || addEnergyInputToMachineList(aTileEntity, aBaseCasingIndex); + || addInputToMachineList(aTileEntity, aBaseCasingIndex) + || addOutputToMachineList(aTileEntity, aBaseCasingIndex) + || addEnergyInputToMachineList(aTileEntity, aBaseCasingIndex); } @Override diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java index 519bed3ede..9025dd1f78 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_AssemblyLine.java @@ -47,183 +47,86 @@ import gregtech.api.util.GT_Recipe.GT_Recipe_AssemblyLine; import gregtech.api.util.GT_Utility; import gregtech.api.util.IGT_HatchAdder; -public class GT_MetaTileEntity_AssemblyLine extends - GT_MetaTileEntity_EnhancedMultiBlockBase<GT_MetaTileEntity_AssemblyLine> implements ISurvivalConstructable { +public class GT_MetaTileEntity_AssemblyLine + extends GT_MetaTileEntity_EnhancedMultiBlockBase<GT_MetaTileEntity_AssemblyLine> implements ISurvivalConstructable { public ArrayList<GT_MetaTileEntity_Hatch_DataAccess> mDataAccessHatches = new ArrayList<>(); private static final String STRUCTURE_PIECE_FIRST = "first"; private static final String STRUCTURE_PIECE_LATER = "later"; private static final String STRUCTURE_PIECE_LAST = "last"; - private static final IStructureDefinition<GT_MetaTileEntity_AssemblyLine> STRUCTURE_DEFINITION = StructureDefinition.<GT_MetaTileEntity_AssemblyLine>builder() - .addShape( - STRUCTURE_PIECE_FIRST, - transpose( - new String[][] { - { " ", "e", - " " }, - { "~", "l", - "G" }, - { "g", "m", - "g" }, - { "b", "i", - "b" }, })) - .addShape( - STRUCTURE_PIECE_LATER, - transpose( - new String[][] { - { " ", "e", - " " }, - { "d", "l", - "d" }, - { "g", "m", - "g" }, - { "b", "I", - "b" }, })) - .addShape( - STRUCTURE_PIECE_LAST, - transpose( - new String[][] { - { " ", "e", - " " }, - { "d", "l", - "d" }, - { "g", "m", - "g" }, - { "o", "i", - "b" }, })) - .addElement( - 'G', - ofBlock( - GregTech_API.sBlockCasings3, - 10)) // grate - // machine - // casing - .addElement( - 'l', - ofBlock( - GregTech_API.sBlockCasings2, - 9)) // assembler - // machine - // casing - .addElement( - 'm', - ofBlock( - GregTech_API.sBlockCasings2, - 5)) // assembling - // line - // casing - .addElement( - 'g', - ofChain( - ofBlockUnlocalizedName( - IndustrialCraft2.ID, - "blockAlloyGlass", - 0, - true), - ofBlockUnlocalizedName( - BartWorks.ID, - "BW_GlasBlocks", - 0, - true), - ofBlockUnlocalizedName( - BartWorks.ID, - "BW_GlasBlocks2", - 0, - true), - // warded - // glass - ofBlockUnlocalizedName( - Thaumcraft.ID, - "blockCosmeticOpaque", - 2, - false))) - .addElement( - 'e', - ofChain( - Energy.newAny( - 16, - 1, - ForgeDirection.UP, - ForgeDirection.NORTH, - ForgeDirection.SOUTH), - ofBlock( - GregTech_API.sBlockCasings2, - 0))) - .addElement( - 'd', - buildHatchAdder( - GT_MetaTileEntity_AssemblyLine.class).atLeast( - DataHatchElement.DataAccess) - .dot( - 2) - .casingIndex( - 42) - .allowOnly( - ForgeDirection.NORTH) - .buildAndChain( - GregTech_API.sBlockCasings3, - 10)) - .addElement( - 'b', - buildHatchAdder( - GT_MetaTileEntity_AssemblyLine.class).atLeast( - InputHatch, - InputHatch, - InputHatch, - InputHatch, - Maintenance) - .casingIndex( - 16) - .dot( - 3) - .allowOnly( - ForgeDirection.DOWN) - .buildAndChain( - ofBlock( - GregTech_API.sBlockCasings2, - 0), - ofHatchAdder( - GT_MetaTileEntity_AssemblyLine::addOutputToMachineList, - 16, - 4))) - .addElement( - 'I', - ofChain( - // all - // blocks - // nearby - // use - // solid - // steel - // casing, - // so - // let's - // use - // the - // texture - // of - // that - InputBus.newAny( - 16, - 5, - ForgeDirection.DOWN), - ofHatchAdder( - GT_MetaTileEntity_AssemblyLine::addOutputToMachineList, - 16, - 4))) - .addElement( - 'i', - InputBus.newAny( - 16, - 5, - ForgeDirection.DOWN)) - .addElement( - 'o', - OutputBus.newAny( - 16, - |
