Skip to content

Commit

Permalink
Remove Hatch Placement Restriction on Large Thermal Refinery (#4017)
Browse files Browse the repository at this point in the history
  • Loading branch information
purebluez authored Mar 3, 2025
1 parent 5f4b218 commit b417137
Showing 1 changed file with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ protected MultiblockTooltipBuilder createTooltip() {
.beginStructureBlock(3, 2, 3, false)
.addController("Front Center")
.addCasingInfoMin("Thermal Processing Casings/Noise Hazard Sign Blocks", 8, false)
.addInputBus("Bottom Casing", 1)
.addOutputBus("Bottom Casing", 1)
.addEnergyHatch("Bottom Casing", 1)
.addMaintenanceHatch("Bottom Casing", 1)
.addMufflerHatch("Bottom Casing", 1)
.addInputBus("Any Casing", 1)
.addOutputBus("Any Casing", 1)
.addEnergyHatch("Any Casing", 1)
.addMaintenanceHatch("Any Casing", 1)
.addMufflerHatch("Any Casing", 1)
.toolTipFinisher();
return tt;
}
Expand All @@ -85,7 +85,7 @@ protected MultiblockTooltipBuilder createTooltip() {
public IStructureDefinition<MTEIndustrialThermalCentrifuge> getStructureDefinition() {
if (STRUCTURE_DEFINITION == null) {
STRUCTURE_DEFINITION = StructureDefinition.<MTEIndustrialThermalCentrifuge>builder()
.addShape(mName, transpose(new String[][] { { "X~X", "XXX", "XXX" }, { "CCC", "CCC", "CCC" }, }))
.addShape(mName, transpose(new String[][] { { "C~C", "CCC", "CCC" }, { "CCC", "CCC", "CCC" }, }))
.addElement(
'C',
ofChain(
Expand All @@ -96,11 +96,6 @@ public IStructureDefinition<MTEIndustrialThermalCentrifuge> getStructureDefiniti
.build(),
onElementPass(x -> ++x.mCasing, ofBlock(ModBlocks.blockCasings2Misc, 0)),
onElementPass(x -> ++x.mCasing, ofBlock(GregTechAPI.sBlockCasings3, 9))))
.addElement(
'X',
ofChain(
onElementPass(x -> ++x.mCasing, ofBlock(ModBlocks.blockCasings2Misc, 0)),
onElementPass(x -> ++x.mCasing, ofBlock(GregTechAPI.sBlockCasings3, 9))))
.build();
}
return STRUCTURE_DEFINITION;
Expand Down

0 comments on commit b417137

Please sign in to comment.