Skip to content

Commit

Permalink
Use all the muffler hatches on the qebf instead of only 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zorbatron committed Oct 23, 2024
1 parent dc3a77e commit 62f677a
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import gregtech.api.GregTechAPI;
import gregtech.api.block.IHeatingCoilBlockStats;
import gregtech.api.capability.IHeatingCoil;
import gregtech.api.capability.IMufflerHatch;
import gregtech.api.metatileentity.MetaTileEntity;
import gregtech.api.metatileentity.interfaces.IGregTechTileEntity;
import gregtech.api.metatileentity.multiblock.IMultiblockPart;
Expand Down Expand Up @@ -219,4 +220,22 @@ public List<ITextComponent> getDataInfo() {
.setStyle(new Style().setColor(TextFormatting.RED))));
return list;
}

@Override
public void outputRecoveryItems() {
List<IMufflerHatch> mufflers = getAbilities(MultiblockAbility.MUFFLER_HATCH);
for (IMufflerHatch muffler : mufflers) {
muffler.recoverItemsTable(recoveryItems);
}
}

@Override
public void outputRecoveryItems(int parallel) {
List<IMufflerHatch> mufflers = getAbilities(MultiblockAbility.MUFFLER_HATCH);
for (IMufflerHatch muffler : mufflers) {
for (int i = 0; i < parallel; i++) {
muffler.recoverItemsTable(recoveryItems);
}
}
}
}

0 comments on commit 62f677a

Please sign in to comment.