GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
295 stars 175 forks source link

The recipe contains empty nbt tag for the fluid, makes the AE2 pattern added by JEI unusable #2414

Closed ranwen closed 1 day ago

ranwen commented 5 days ago

Checked for existing issues

Tested latest version

GregTech CEu Version

v1.5.3

Minecraft Version

1.20.1

Recipe Viewer Installed

JEI

Environment

sp&mp

Cross-Mod Interaction

Yes

Other Installed Mods

AE2-15.2.13 JEI-15.20.0.105 Forge: 47.3.7

Expected Behavior

image

When manually modifying the fluid recipe or using other mod's recipes for JEI automatic pattern filling, the nbt tag of the AE2 pattern fluid does not exist(is null/not empty).

Actual Behavior

image image image

All fluids in the template (including input and output) have empty nbt tags, which causes AE2 to be unable to correctly match the fluids and unable to craft.

Steps to Reproduce

Install all three mods (I'm sure this is minimally reproducible). Create an AE2 network and open the ME pattern encoding terminal. Use JEI to search for a GT recipe containing fluid and use + to automatically fill in the recipe. Check the nbt tag of the output pattern.

Additional Information

I didn't encounter this problem in the previous version (I forgot the specific version, it was probably half a month ago). It may be introduced in the new version update.