EMI

EMI

1M Downloads

[Request] Compatibility with nbt-crafting

sisby-folk opened this issue · 4 comments

commented

Siphalor/nbt-crafting provides the ability for datapacks to create recipes that require or modify item NBT. This includes adding new smithing/brewing/anvil recipes, or just through the crafting table.

These recipes don't show up in EMI. For whichever reason.

I'm unclear on the logical conclusion of "who writes the integration / sets the standard for who" here, but we figured we'd start here.

commented

So, shockingly, some NBT-crafting recipes already appear in EMI!

Normal Recipe:
image

NBT Recipe that saves the axolotl bucket NBT to the remainder:
image

Other recipes like custom smithing and brewing recipes don't appear.
There may be some that do already I haven't listed - I don't have anvil recipes, and crafting table recipe support might be mixed (I don't have an nbt ingredient, nor result - just a remainder)

It's likely some funky API integration is required to get these to appear, but I'm leaving this issue open in case more needs to be added to the API, which feels likely considering it's a difficult edge case for EMI's design.

commented

Some funky API integration would be required to get them to appear indeed - NBT Crafting modifies the vanilla recipe code in ways EMI can't really see without explicitly depending on NBT Crafting to look for them.

Recipe remainders will always be accurate in EMI, no matter what type of weird injections are made to alter them - it simulates crafting the recipe and getting the remainders to see what they are.

commented
commented

I think the issue on nbtcrafting supersedes this one, and if an API change needs to be made it can probably be made with a new issue, so I'm gonna close this.