From 1f5054fde36c3fdb709a27b4cfd7d44d04af8fe5 Mon Sep 17 00:00:00 2001 From: Vertyx Date: Sun, 31 May 2026 14:52:31 -0300 Subject: [PATCH] Update common OC logic comment adding any of the common OC logic modifiers to enable overclocking for any custom multiblock, otherwise, time discount isnt applied no matter the energy given/energy hatch used --- .../gregtechceu/gtceu/common/data/GTRecipeModifiers.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gregtechceu/gtceu/common/data/GTRecipeModifiers.java b/src/main/java/com/gregtechceu/gtceu/common/data/GTRecipeModifiers.java index cea3cf40f93..828fe470e9f 100644 --- a/src/main/java/com/gregtechceu/gtceu/common/data/GTRecipeModifiers.java +++ b/src/main/java/com/gregtechceu/gtceu/common/data/GTRecipeModifiers.java @@ -44,8 +44,11 @@ public class GTRecipeModifiers { } return logic.getModifier(machine, recipe, overclockMachine.getOverclockVoltage()); }); - - // Shortcuts for common OC logics + /* + Shortcuts for common OC logics + One of these modifiers must be present within .recipeModifiers() to enable normal overclocking + otherwise, the time discount will not be applied, regardless of the eu/t supplied + */ public static final RecipeModifier OC_PERFECT = ELECTRIC_OVERCLOCK.apply(PERFECT_OVERCLOCK); public static final RecipeModifier OC_NON_PERFECT = ELECTRIC_OVERCLOCK.apply(NON_PERFECT_OVERCLOCK); public static final RecipeModifier OC_PERFECT_SUBTICK = ELECTRIC_OVERCLOCK.apply(PERFECT_OVERCLOCK_SUBTICK);