mojira.dev
MC-251213

red box eyes not at the same position while sneaking or unsneaking

I see the red box for the eyes not the same from the top of the players hitbox, either if he is sneaking or not.

It can be an issue for map makers trying to detect if a player touchs a block above him.

eg:
execute as @a[...] at @s ~anchored eyes if block ~ ~0.19 ~ red_concrete run kill @s~

 

sneaking

not sneaking

hitbox size vertical

1.5

1.8

eyes box from top of player hitbox

-0.23000001907

-0.17999999523

shouldn't it be logical to have the eyes position the same from the top of the hitbox?

Linked issues

Attachments

Comments 5

This report is invalid as your game was modified when experiencing this issue.

The issue is the same with and without Optifine, it is just more visible using the zoom.

Can confirm in vanilla 1.18.2.
You can "zoom" by just placing blocks in front of you.

This ticket actually appears to be a duplicate of MC-142684. Since this ticket (MC-251213) has an assigned "Mojang Priority" and MC-142684 hasn't, I'm unsure regarding what ticket should be resolved as a duplicate of the other.

Thank you for your report!
We're tracking this issue in MC-142684, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

migrated

(Unassigned)

Confirmed

Low

Hitboxes

1.18.2

Retrieved