per feedback from @liach about a bug with vanillas previous logic that we essentially just reverted to. complex recipes could run into cases where a recipe that does have enough items can be unsatisfied if the items are in certain orders, making them not truely shapeless. this scenario doesn't occur in vanilla, but users can load custom recipes. this improves the logic to do some sorting on the lists to improve chances of matching the recipes harder ingredients before the easier to satisfy ingredients. the likelyhood of someone adding a recipe that still fails this is too extreme to care about. i doubt mojangs implementation is perfect either. we can improve this logic more later if we actually get bug reports on it.
3.2 KiB
3.2 KiB