Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Compatibility with nbt-crafting #14

Closed
sisby-folk opened this issue Jun 15, 2022 · 4 comments
Closed

[Request] Compatibility with nbt-crafting #14

sisby-folk opened this issue Jun 15, 2022 · 4 comments

Comments

@sisby-folk
Copy link
Contributor

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.

@sisby-folk
Copy link
Contributor Author

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.

@LemmaEOF
Copy link

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.

@sisby-folk
Copy link
Contributor Author

sisby-folk commented Jul 25, 2022 via email

@sisby-folk
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants