GregTechCEu Modern

GregTechCEu Modern

6M Downloads

TagPrefix.setIgnored() causes autogenerated dust assembly/hot ingot cooling/alloy dust decomposition recipes to lack outputs.

AncientShotgun opened this issue ยท 1 comments

commented

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

1.4.4

Minecraft Version

1.20.1

Recipe Viewer Installed

EMI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

Tweaked instance of Sky Greg

Expected Behavior

Using TagPrefix.setIgnored() to make GTCEuM treat non-native items as GTCEuM Material items should not inhibit the ability of GTCEuM to autogenerate various recipes pertaining to small dust -> dust assembly, alloy dust centrifuging or hot ingot cooling.

Actual Behavior

After adding GTCEuM compat to some mods' items and using .setIgnored() to associate them with a custom KubeJS Material, GTCEuM attempts to autogenerate the requisite crafting, packing, cooling and centrifuging recipes, but cannot find these non-native items to use them as the outputs of these recipes, and experiences a fatal exception and a subsequent crash to desktop.

Steps to Reproduce

  1. Register custom Material using a KubeJS Script.
  2. In a separate script, use TagPrefix.setIgnored() to associate non-GTCEuM items with this Material.
  3. Start Minecraft and attempt to load a world.

Additional Information

A copy of the crash report:
crashreport.txt

commented

Issue resolved; the method by which I fetched the ItemLike was incorrect.