mojira.dev
MC-156685

Arrow model isn't properly centered inside its hitbox

Details:

Main problem:

An arrow is in the bottom of it's hitbox. If the texture is under a button by 0.5 blocks it activates it, if it is slightly above it won't register as a hit.
The arrow should be in the middle of it's hitbox.

Other issues mentioned:

From 190191 (resolved as dupe)

I uploaded the gif from that report to this report as it adds details. (ezgif-4-27e46e3d21b9.gif)

It seems like the arrow is drawn at the correct location relative to the player when shooting.

Conclusion:

Steps to solve:

  • The hitbox of the arrow needs to be moved down by 0.25 blocks

  • The texture of the arrow should be moved to the center

Affects:

  • PvP (If the arrow has a larger hitbox downwards of the main texture you may be able to hit someone hiding behind a 2 block tall wall)

  • Redstone / Buttons (Corrects the problem)

  • Redstone / Target block (Needs remapping, a bulls eye should stay a bulls eye)

Linked issues

Attachments

Comments 4

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

can confirm in 23w46a

 

Added image 2024ArrowBelowBlock.png and version 24w11a. Somehow I also managed to hit the button with an arrow flying past the block below the button, but due to MC-92875 I couldn't recreate it.

20Attila03

(Unassigned)

Community Consensus

Entities, Hitboxes, Textures and models

hitbox, visuals

Minecraft 1.14.3, 1.14.4, 20w06a, 1.16.4 Pre-release 2, 20w49a, ..., 1.17.1, 1.18.1, 22w17a, 23w46a, 24w11a

Retrieved