-
Notifications
You must be signed in to change notification settings - Fork 354
ABS Recipes not properly generating in 1.7.0 #3120
Description
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
gtceu-1.20.1-1.7.0-SNAPSHOT-20250427-105417-fc4f444
Minecraft Version
1.20.1 Forge
Recipe Viewer Installed
EMI
Environment
Singleplayer
Cross-Mod Interaction
Yes
Other Installed Mods
fzzy_config-0.6.4+1.20.1+forge
ferritecore-6.0.1-forge
FastSuite-1.20.1-5.0.1
FastLeafDecay-32
FastFurnace-1.20.1-8.0.2
entityculling-forge-1.7.0-mc1.20.1
EnderIO-1.20.1-6.2.10-beta-all
emitrades-forge-1.2.1+mc1.20.1
emiffect-forge-1.1.2+mc1.20.1
emi-1.1.20+1.20.1+forge
emi_loot-0.7.5+1.20.1+fix1+forge
emi_enchanting-0.1.2+1.20.1+forge
embeddiumplus-1.20.1-v1.2.13
embeddium-0.3.31+mc1.20.1
Ding-1.20.1-Forge-1.5.0
configured-forge-1.20.1-2.2.3
configuration-forge-1.20.1-3.1.0
cofh_core-1.20.1-11.0.2.56
cloth-config-11.1.136-forge
badpackets-forge-0.4.3
architectury-9.2.14-forge
zume-1.1.4
YeetusExperimentus-Forge-2.3.1-build.6+mc1.20.1
worldedit-mod-7.2.15
WorldEditCUI-1.20+01
TipTheScales-forge-1.20.1-9.0.0.1
thermal_innovation-1.20.1-11.0.1.23
thermal_foundation-1.20.1-11.0.6.70
thermal_expansion-1.20.1-11.0.1.29
systeams-1.20.1-1.8.2
spark-1.10.53-forge
smoothboot(reloaded)-mc1.20.1-0.0.4
rhino-forge-2001.2.3-build.10
radium-mc1.20.1-0.12.4+git.26c9d8e
Placebo-1.20.1-8.6.2
oculus-mc1.20.1-1.8.0
kubejs-thermal-2001.1.10-build.2
kubejs-forge-2001.6.5-build.16
kubejs_enderio-forge-1.20.1-0.6.0
kotlinforforge-4.11.0-all
iChunUtil-1.20.1-Forge-1.0.3
Expected Behavior
Generate Alloy Blast Smelter Recipes for all KJS API-Generated Materials, regardless of material dependencies.
Actual Behavior
If an API-generated material requires another API-generated material as in input, it will not properly generate any Alloy Blast Smelter recipes.
Steps to Reproduce
Use a KubeJS script to use the Gregtech KJS API to generate materials, and have at least two materials, the 2nd of which using the first as an input material. The KJS script I had pared down to 'enough to confirm what is happening' as an example attached as a .txt:
It is lacking a bunch of information, but in 1.6.4, it generates all the listed materials with an ABS recipe without issue, but in 1.7.0, it fails to generate the ABS recipe for the 'vibrant alloy', and 'end steel'.
Additional Information
I suspect this may be an issue caused by commit #2616, as they changed recipe gen to "No longer iterates all materials for every registration handler", which I suspect could cause recursive recipes to break. If a material has purely vanilla/base-mod materials, it behaves exactly as expected, but if a material uses other API-generated components, it doesn't generate the ABS recipe. However, I am not exactly capable when it comes to coding, and I may be misreading the implications of that PR's optimization, here.