The bug
When using the recipe book to craft a dispenser, it will reject a bow if it has the Damage:0
tag.
The reason this is an issue is because the Damage
tag is written after reloading the world, even if it equals 0. Items do not initially have this tag when taken out of the creative inventory, crafted, repaired, /give
, etc.
Possible fixes
Allow the recipe book to use bows with a
Damage
tag of 0 and bows with noDamage
tag at allAllow the recipe book to use bows with a
Damage
tag of 0 and change damageable items to have theDamage
tag by defaultRemove and don't write the
Damage
tag if it equals 0
A fix should be made with MC-124876 in mind.
Linked issues
is duplicated by 26
relates to 2
Comments 8

I do have an enchanted bow in the hot-bar. So it doesn't "warn" or "refuse"? I may also have had damaged bows I combined for making them, but I did have "no durability loss" bows too, which I used to craft the dispenser manually. I can try it again if needed, and post a screenshot when I do.
Can reproduce now. Seems to be pretty inconsistent. Weird.

No need for me to reattempt and screenshot, then? Everything else recipe-wise seems in order so far, though I rather wish Java now worked as smooth as Bedrock's recipe book. I do note pertaining to this bug, I'd rather have a warning that it's confused over which bow or something than, "I know you wanted a dispenser, I'll offer you a dropper instead" thing.
I found the root of the problem and updated the ticket accordingly.

Affects 1.13-pre6.

Best to keep this Updated, even if it's marked as Postponed, as it affects 18w31a too.

Confirmed for 19w35a
I think the better fix would be to always include a Damage tag for Damage 0 tools.
Cannot confirm. Are any of the bows enchanted or damaged? Please attach a picture of your inventory.