Open gliscowo opened 1 month ago
Definitely slightly tricky to handle. Tag ingredients could have a case to coerce if all nbt for input stacks match. ListEmiIngredient
is not API, so there is currently no resolution to this outside of a custom ingredient.
For a specific example, Affinity's
PotionIngredient
matches all three items in thec:potions
tag but specifically requires the matched stack to have a certain potion in its NBT. However, since EMI only checks the stack'skey
and ignores NBT when searching for tag matches in EmiTag.getIngredient, it will incorrectly display this as thec:potions
tag with three instances of an uncraftable potion. This is plain incorrect and can, as far as I can tell, currently not be prevented without instantiating the impl ofListEmiIngredient
directly