Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-251213

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.18.2
    • None
    • Confirmed
    • Hitboxes
    • Low

      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?

        1. not sneaking.png
          116 kB
          sellig_mada
        2. sneaking.png
          98 kB
          sellig_mada

            Unassigned Unassigned
            sellig_mada sellig_mada
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: