From 6ae5459a0ed806edc5b3e539daed4436c55fbc70 Mon Sep 17 00:00:00 2001 From: Kogepan229 <73163994+Kogepan229@users.noreply.github.com> Date: Fri, 19 Jun 2026 19:49:51 +0900 Subject: [PATCH] Fix GT pattern transfer dropping chance outputs (#72) --- .../vfyjxf/nee/processor/GregTech5RecipeProcessor.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java b/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java index 8a066ca..42c70bc 100644 --- a/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java +++ b/src/main/java/com/github/vfyjxf/nee/processor/GregTech5RecipeProcessor.java @@ -20,7 +20,6 @@ import codechicken.nei.PositionedStack; import codechicken.nei.recipe.IRecipeHandler; import gregtech.api.enums.ItemList; import gregtech.api.recipe.RecipeCategory; -import gregtech.nei.GTNEIDefaultHandler.FixedPositionedStack; /** * @author vfyjxf @@ -121,11 +120,6 @@ public class GregTech5RecipeProcessor implements IRecipeProcessor { List recipeOutputs = new ArrayList<>(); if (canProcessRecipe(recipe)) { recipeOutputs.addAll(recipe.getOtherStacks(recipeIndex)); - // remove output if it's chance != 10000 - recipeOutputs.removeIf( - stack -> stack instanceof FixedPositionedStack - && !(((FixedPositionedStack) stack).getChance() == PositionedStack.CHANCE_FULL - || ((FixedPositionedStack) stack).getChance() <= 0)); return recipeOutputs; } return recipeOutputs;