diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2021-12-15 22:28:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 15:28:50 +0100 |
commit | 4c66e60d23da8e193e7606c8bca1651d691b73f0 (patch) | |
tree | 4344c7b916fd17feb9ce3580aaff6a2363a191a3 /src/main/java | |
parent | 2f58b34ea437962d3fe2f294def84d54bb30630c (diff) | |
download | GT5-Unofficial-4c66e60d23da8e193e7606c8bca1651d691b73f0.tar.gz GT5-Unofficial-4c66e60d23da8e193e7606c8bca1651d691b73f0.tar.bz2 GT5-Unofficial-4c66e60d23da8e193e7606c8bca1651d691b73f0.zip |
Fix discrepancy between structure check and hologram (#801)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DistillationTower.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DistillationTower.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DistillationTower.java index 0d7cc5a077..8f1191c594 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DistillationTower.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_DistillationTower.java @@ -51,7 +51,7 @@ public class GT_MetaTileEntity_DistillationTower extends GT_MetaTileEntity_Enhan {"lll", "l-l", "lll"} })) .addShape(STRUCTURE_PIECE_TOP_HINT, transpose(new String[][]{ - {"lll", "lll", "lll"} + {"lll", "lCl", "lll"} })) .addElement('b', ofChain( ofHatchAdder(GT_MetaTileEntity_DistillationTower::addEnergyInputToMachineList, CASING_INDEX, 1), @@ -72,6 +72,12 @@ public class GT_MetaTileEntity_DistillationTower extends GT_MetaTileEntity_Enhan onElementPass(t -> t.onTopLayerFound(true), ofBlock(GregTech_API.sBlockCasings4, 1)), isAir() )) + .addElement('C', ofChain( + onElementPass(t -> t.onTopLayerFound(false), ofHatchAdder(GT_MetaTileEntity_DistillationTower::addOutputToMachineList, CASING_INDEX, 3)), + onElementPass(t -> t.onTopLayerFound(false), ofHatchAdder(GT_MetaTileEntity_DistillationTower::addMaintenanceToMachineList, CASING_INDEX, 3)), + onElementPass(t -> t.onTopLayerFound(true), ofBlock(GregTech_API.sBlockCasings4, 1)), + isAir() + )) .build(); protected final List<List<GT_MetaTileEntity_Hatch_Output>> mOutputHatchesByLayer = new ArrayList<>(); protected int mHeight; |