mojira.dev
MC-302752

On-hover attack indicator does not work properly with spear reach

The increased reach of spears was not accounted for with the on-hover attack indicator (the one with the plus underneath). With other weapons, the on-hover attack indicator appears when you’re in range to do a successful attack. With the spear, it displays it as if the spear has 3 reach like all other weapons, despite it having 5 reach.

Additionally, the on-hover indicator appears even when you’re too close for your spear attack to connect, again failing to indicate when a successful attack can be performed.

In the attached video, observe how the on-hover indicator appears even when I’m too close for my attack to connect, and observe how it disappears even when I’m still close enough to hit with the spear’s longer reach.

Expected Behavior: The on-hover attack indicator properly indicates when a successful spear attack can be performed.

Observed Behavior: The on-hover attack indicator fails to indicate when a successful spear attack can be performed, as it does not disappear when too close, and does disappear when attacking beyond 3 blocks away but closer than 5 blocks away.

Linked issues

Attachments

Comments 1

SeaOfPixels

(Unassigned)

Unconfirmed

(Unassigned)

25w41a

Retrieved