diff options
| author | HoleFish <48403212+HoleFish@users.noreply.github.com> | 2024-03-12 22:39:35 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-12 15:39:35 +0100 |
| commit | 71709d9fa14d27c4d337808acffa4a1d61b6f97c (patch) | |
| tree | 025974c974d72135ccc7815b9f2f8d89f8b68946 /src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputerPP.java | |
| parent | af38e95b383c682ae62ef1b7ac423625357dcbe0 (diff) | |
| download | GT5-Unofficial-71709d9fa14d27c4d337808acffa4a1d61b6f97c.tar.gz GT5-Unofficial-71709d9fa14d27c4d337808acffa4a1d61b6f97c.tar.bz2 GT5-Unofficial-71709d9fa14d27c4d337808acffa4a1d61b6f97c.zip | |
Fix compact fusions (#241)
* fix machine not shut down when no enough startup power
* tweak EU capacity and power restriction for a single hatch
* fix missing OCs and code clean
* too much hatch power
Diffstat (limited to 'src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputerPP.java')
| -rw-r--r-- | src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputerPP.java | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputerPP.java b/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputerPP.java index 11f55dff77..86ba84c5fb 100644 --- a/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputerPP.java +++ b/src/main/java/goodgenerator/blocks/tileEntity/base/LargeFusionComputerPP.java @@ -7,7 +7,8 @@ import com.github.technus.tectech.thing.metaTileEntity.multi.base.IStatusFunctio import com.github.technus.tectech.thing.metaTileEntity.multi.base.LedStatus; import com.github.technus.tectech.thing.metaTileEntity.multi.base.Parameters; -import gregtech.api.logic.ProcessingLogic; +import gregtech.api.objects.overclockdescriber.OverclockDescriber; +import gregtech.api.util.AdvancedFusionOverclockDescriber; public abstract class LargeFusionComputerPP extends LargeFusionComputer { @@ -29,14 +30,8 @@ public abstract class LargeFusionComputerPP extends LargeFusionComputer { } @Override - protected ProcessingLogic createProcessingLogic() { - return super.createProcessingLogic().setOverclock(2, 2); - } - - @Override - protected long getSingleHatchPower() { - // Multiply by 8 so that we can have the original input power per hatch - return super.getSingleHatchPower() * 8; + protected OverclockDescriber createOverclockDescriber() { + return new AdvancedFusionOverclockDescriber((byte) tier(), capableStartupCanonical()); } @Override |
