The recipe book can merge items with the same ID but different components when autofilling custom recipes
How to reproduce:
- Use any datapack to make a custom recipe that uses:
(1)an item id that you can find with different components (that is, potions (water bottle included), tipped arrows, suspicious stews, etc)
(2) an item that is stackable (it narrows it to tipped arrows only with vanilla items) - Take a variant of those items (eg. tipped arrow of strength) in a quantity inferior to the max stack size. Take a different variant of that item in any quantity (eg. tipped arrow of swiftness). Take an excess amount of any other items you need to do the recipe.
- Place the tipped arrow of strength in a slot with priority in the inventory over the tipped arrow of swiftness.
- Shift click the recipe in the recipe book.
This bug voids the usability of many custom items and recipes you can make with datapacks, it can be a source of annoyance, lost of item or even exploit.
Should be regarded with very high priority among the technical changes!
Video and example datapack used in the video attached.