Skip to content

Commit

Permalink
add back hatch restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
StaffiX committed Dec 27, 2024
1 parent 592a7a9 commit 399797e
Showing 1 changed file with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,14 @@ public class MTEElectricBlastFurnace extends MTEAbstractMultiFurnace<MTEElectric
.addShape(
STRUCTURE_PIECE_MAIN,
transpose(
new String[][] { { "bbb", "bmb", "bbb" }, { "CCC", "C-C", "CCC" }, { "CCC", "C-C", "CCC" },
new String[][] { { "fff", "fmf", "fff" }, { "CCC", "C-C", "CCC" }, { "CCC", "C-C", "CCC" },
{ "b~b", "bbb", "bbb" } }))
.addElement(
'f',
buildHatchAdder(MTEElectricBlastFurnace.class).atLeast(OutputHatch)
.casingIndex(CASING_INDEX)
.dot(3)
.buildAndChain(GregTechAPI.sBlockCasings1, CASING_INDEX))
.addElement('m', Muffler.newAny(CASING_INDEX, 2))
.addElement('C', ofCoil(MTEElectricBlastFurnace::setCoilLevel, MTEElectricBlastFurnace::getCoilLevel))
.addElement(
Expand Down Expand Up @@ -105,13 +111,13 @@ protected MultiblockTooltipBuilder createTooltip() {
.addController("Front bottom")
.addCasingInfoRange("Heat Proof Machine Casing", 0, 15, false)
.addOtherStructurePart("Heating Coils", "Two middle Layers")
.addEnergyHatch("Any Heat Proof Machine Casing", 3)
.addMaintenanceHatch("Any Heat Proof Machine Casing", 3)
.addEnergyHatch("Any bottom layer casing", 1)
.addMaintenanceHatch("Any bottom layer casing", 1)
.addMufflerHatch("Top middle", 2)
.addInputBus("Any Heat Proof Machine Casing", 3)
.addInputHatch("Any Heat Proof Machine Casing", 3)
.addOutputBus("Any Heat Proof Machine Casing", 3)
.addOutputHatch("Any Heat Proof Machine Casing")
.addInputBus("Any bottom layer casing", 1)
.addInputHatch("Any bottom layer casing", 1)
.addOutputBus("Any bottom layer casing", 1)
.addOutputHatch("Any Heat Proof Machine Casing", 3)
.toolTipFinisher();
return tt;
}
Expand Down

0 comments on commit 399797e

Please sign in to comment.