diff options
| author | Glease <4586901+Glease@users.noreply.github.com> | 2024-08-16 09:14:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 01:14:09 +0000 |
| commit | 54f98cd732f1ce1dc5a8a6ed69490a25d676c8b1 (patch) | |
| tree | ad7048b0a0e4acf5eacb3a37b75b9b0b43f60618 /src/main/java/com | |
| parent | 5decfda1dd1b3bbfdb1098f409aa50162ea32dc2 (diff) | |
| download | GT5-Unofficial-54f98cd732f1ce1dc5a8a6ed69490a25d676c8b1.tar.gz GT5-Unofficial-54f98cd732f1ce1dc5a8a6ed69490a25d676c8b1.tar.bz2 GT5-Unofficial-54f98cd732f1ce1dc5a8a6ed69490a25d676c8b1.zip | |
makeshift solution of skipping gt hatches (#2881)
* makeshift solution of telling structurelib to not place gt hatches
* Spotless apply for branch feature/gt-no-hatch for #2881 (#2882)
spotlessApply
Co-authored-by: GitHub GTNH Actions <>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/com')
2 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java index 12b69eeb47..c3aef39047 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java @@ -9,7 +9,6 @@ import static com.github.technus.tectech.thing.metaTileEntity.multi.base.LedStat import static com.github.technus.tectech.util.CommonValues.MULTI_CHECK_AT; import static com.github.technus.tectech.util.CommonValues.V; import static com.gtnewhorizon.structurelib.structure.StructureUtility.ofBlock; -import static com.gtnewhorizon.structurelib.structure.StructureUtility.ofChain; import static com.gtnewhorizon.structurelib.structure.StructureUtility.transpose; import static gregtech.api.enums.GT_HatchElement.Energy; import static gregtech.api.enums.GT_HatchElement.Maintenance; @@ -115,7 +114,7 @@ public class GT_MetaTileEntity_EM_computer extends GT_MetaTileEntity_MultiblockB .casingIndex(textureOffset + 1) .dot(1) .buildAndChain(ofBlock(sBlockCasingsTT, 1))) - .addElement('E', ofChain(RackHatchElement.INSTANCE.newAny(textureOffset + 3, 2), ofBlock(sBlockCasingsTT, 3))) + .addElement('E', RackHatchElement.INSTANCE.newAnyOrCasing(textureOffset + 3, 2, sBlockCasingsTT, 3)) .build(); // endregion diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_dataBank.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_dataBank.java index 0723dc52de..b084e632d4 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_dataBank.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_dataBank.java @@ -95,7 +95,7 @@ public class GT_MetaTileEntity_EM_dataBank extends GT_MetaTileEntity_MultiblockB DataBankHatches.WirelessOutboundConnector) .casingIndex(textureOffset + 1) .dot(2) - .buildAndChain(DataBankHatches.DataStick.newAny(textureOffset + 1, 2), ofBlock(sBlockCasingsTT, 1))) + .buildAndChain(DataBankHatches.DataStick.newAnyOrCasing(textureOffset + 1, 2, sBlockCasingsTT, 1))) .build(); // endregion |
