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

Block hitboxes and entity hitboxes don’t render behind semi-transparent entities

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.5, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 1.19.2, 1.20.2, 23w43b, 1.20.3 Pre-Release 2, 1.20.4, 24w09a, 1.20.5
    • Confirmed
    • Rendering

      Selected block and entity hitboxes are not rendered behind semi-transparent entites, such as the player in spectator mode, or when on a team with invisibility applied.

      Steps to Reproduce:

      (Fabulous! graphics must be enabled)

      1. Add a team and join it
        /team add hitbox_invisible
        /team join hitbox_invisible@s
        
      2. Apply invisibility OR enter spectator mode
        /effect give @s minecraft:invisibility infinite 0 true
        
      3. Enter the third-person perspective
      4. Look directly at a block, or an entity with hitboxes enabled (F3 + B)
        The hitbox is not rendered properly

      Screenshots / Videos:

      Selected block hitbox:

      Entity hitbox:

      Notes:

      1. This occurs even when the 'Fabulous!' setting is enabled
      2. When 'Fabulous!' graphics is disabled, the entity will not render at all, that behavior is tracked in MC-187783

            Unassigned Unassigned
            Jingy Jiingy
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: