Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Hatch Placement Restriction on Large Thermal Refinery #4017

Merged
merged 2 commits into from
Mar 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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