mojira.dev
MC-164849

Arrow in Loaded Crossbow Disappearing After Using Grindstone

After you grindstone loaded crossbows, the arrows in them disappears.

Linked issues

Attachments

Comments 12

Works as intended for me.

This occurs because the grindstone clears all item nbt data (excluding curses). The data about the stored projectile is stored in the crossbow's NBT. If this is not working as intended the fix would need to prevent the NBT data about the stored projectile from being cleared.

The resulting crossbow does have an arrow for me, and in your screenshot it does look like it's the same for you.

Both crossbows are loaded, meaning there are 2 arrows. Once you grind it, it gives you 1 loaded crossbow, which also means there is only 1 arrow. You started out with 2.

Can confirm in 20w51a.

2 more comments

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.2 and 22w16b.

Can confirm in 1.19.

Can confirm in 1.19.2.

JaloSenpai

(Unassigned)

Confirmed

Items

19w44a, 1.15 Pre-release 3, 1.15 Pre-release 6, 1.15, 1.15.2, ..., 1.19, 1.19.2, 1.20.4, 24w09a, 1.21.4

Retrieved