mojira.dev
MC-304551

Players cannot interact with entities while using a spear at close range

Steps to reproduce:

  1. Hold a spear

  2. Interact (right-click) with an item frame or villager at close range.

Observed results:

The game acts like you’re pointing at the block behind it.

Expected results:

The entity should be interacted with.

Linked issues

Attachments

Comments 4

This may be WAI, as the spear is specifically programmed to not be able to interact with any entities if the user is within 2 blocks of them, not just unable to attack those entities.

They fixed this with blocks in MC-304421, but not entities.

Just noticed this in 1.21.11 when trying to insert a spear into an item frame. I doubt this is WAI, especially with item frames.

Still reproducible in 26.2 and 26.3 Pre-Release 2. Item frames cannot be interacted with while holding a spear within ~2 blocks, and villagers only fail when standing directly next to them; any farther away and they work normally. I couldn't reproduce this with bows, crossbows or shields.

marioaud55

(Unassigned)

1523366

Confirmed

Expansion A

Important

Items

1.21.11 Pre-Release 3, 1.21.11, 26.2

Retrieved