mojira.dev
MC-174129

Infinity consumes non-arrow "arrow" tag items

The Infinity enchant does not respect non-arrow items in the "arrow" tag.

What I expected to happen was...:
I made a datapack where I put "dirt" in the arrow tag. I assumed it would behave like a normal arrow, so the dirt block should not be consumed when using an Infinity bow.

What actually happened was...:
The dirt was consumed each time I fired the infinity bow.

Steps to Reproduce:
1. Create a new world and put the attached datapack in there.

2. Give yourself some dirt, and a bow with infinity.

3. Use the bow, and see the dirt being consumed.

Linked issues

Attachments

Comments 1

M. E.

(Unassigned)

Confirmed

20w10a

Retrieved