GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

CT-generated recipes NBT problems

IntegerLimit opened this issue ยท 1 comments

commented

GregTech CEu Version

v2.6

Modpack Used

Nomi CEu

Addons Installed

GCYM, ULV Covers and MBT newest.

Environment

Singleplayer

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

The recipe to run, regardless of nbt.

Actual Behavior

Recipe doesn't run.

Steps to Reproduce

Try to do a recipe with an item that has nbt
Try again with the same item, without nbt

Additional Information

It would be nice if nbt was only checked if the recipe required a specific nbt, but not checked if the recipe doesn't specify nbt.
Its also probably related to CT generated recipes.

commented

This can be fixed by adding .withEmptyTag() to the ingredient where any NBT should be accepted. This should either:

  1. Work with no .withEmptyTag() added, and .withEmptyTag() specifying an ingredient where only no NBT is accepted
  2. Be in the docs, that no .withEmptyTag() means an ingredient where only no NBT is accepted, and .withEmptyTag() specifying a wildcard NBT