McJtyMods / FancyTrinkets

All kinds of fancy curios baubles with a reforging system
MIT License
3 stars 1 forks source link

Fix JEI subtype interpreter for TrinketItems #1

Closed mezz closed 1 year ago

mezz commented 1 year ago

The issue is that useNbtForSubtypes creates a subtype interpreter that pays attention to all NBT (which you do not want). The interpreter you wrote is correct but unfortunately it fails to get registered because useNbtForSubtypes was already used, and we can only have one interpreter per item.

[22:46:36] [Render thread/ERROR] [me.je.co.lo.re.SubtypeRegistration/]: An interpreter is already registered for this: gold_ring_blue

With this PR, the recipe appears to work as expected :)