Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master authored Sep 23, 2024
2 parents 80e4c4d + 008fad9 commit db30814
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import net.minecraftforge.common.util.ForgeDirection;

import org.apache.commons.lang3.tuple.Pair;
import org.jetbrains.annotations.NotNull;

import com.google.common.collect.ImmutableList;
import com.gtnewhorizon.structurelib.alignment.constructable.ISurvivalConstructable;
Expand All @@ -55,6 +56,7 @@
import gregtech.api.multitileentity.multiblock.casing.Glasses;
import gregtech.api.recipe.RecipeMap;
import gregtech.api.recipe.RecipeMaps;
import gregtech.api.recipe.check.CheckRecipeResult;
import gregtech.api.render.TextureFactory;
import gregtech.api.util.GTUtility;
import gregtech.api.util.MultiblockTooltipBuilder;
Expand Down Expand Up @@ -316,9 +318,15 @@ public float speedBoost(float speedBoost, byte voltageTier) {

@Override
protected ProcessingLogic createProcessingLogic() {
return new ProcessingLogic()
.setSpeedBonus(speedBoost(getPipeData().speedBoost, GTUtility.getTier(this.getMaxInputVoltage())))
.setEuModifier(0.8F)
return new ProcessingLogic() {

@NotNull
@Override
public CheckRecipeResult process() {
speedBoost = (speedBoost(getPipeData().speedBoost, GTUtility.getTier(getMaxInputVoltage())));
return super.process();
}
}.setEuModifier(0.8F)
.setMaxParallelSupplier(this::getMaxParallelRecipes);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ protected ProcessingLogic createProcessingLogic() {
@Override
protected CheckRecipeResult validateRecipe(@NotNull GTRecipe recipe) {
doingHIP = false;
setSpeedBonus(1F / 1.25F);
setSpeedBonus(1F / 3.5F);
setEuModifier(0.75F);

if (cooling) {
Expand Down

0 comments on commit db30814

Please sign in to comment.