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

'Glowing' interacts incorrectly with culling of sections/chunks, causing glowing mobs to immediately disappear as the player crosses chunk boundaries

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • Minecraft 16w06a, Minecraft 1.9.3 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.12.2, Minecraft 1.13-pre1, Minecraft 1.13.1
    • None
    • Confirmed
    • (Unassigned)

      If a Glowing mob is in a section (16x16x16 chunk/section boundary area) with opaque walls, it can become invisible despite the fact that it ought to glow through the walls.

      Here is a repro:

      Make a basic superflat world.

      teleport near x=128 z=128

      run

      /fill 128 16 128 143 31 143 stone hollow
      /summon skeleton 135 20 135 {NoAI:1,Glowing:1,Invulnerable:1}
      

      Notice that there is a glowing skeleton in the stone box you made. You can fly around and see him from all sides. This behavior is correct. Now do

      /fill 127 15 127 144 32 144 stone outline
      

      This makes the walls one thicker, so they go out into the adjoining chunk/section in all six directions. Now fly around the box looking at the skeleton again.

      Expected: you can still the glowing skeleton

      Actual: you can only see the glowing skeleton if at least two of your X/Y/Z coordinates are in the same chunk/section/chunk as the skeleton (e.g. you are directly above, directly to the side, or directly below). If you view the area from any angle, the skeleton immediately disappears as you cross a chunk boundary.

      Speculative cause: a rendering algorithm is culling entire sections as 'invisible due to walls' without taking into consideration whether there may be Glowing mobs in the section. (This is supported somewhat by the fact that breaking a single block in the middle of the face of one of the walls you can see will 'fix' the problem.)

      Implications if not fixed: This bug has implications for PvP (where players hit by spectral arrows can 'cheat' by hiding in certain areas), puzzle maps that rely on 'Glowing' mobs for players to find hidden treasure underground or navigate through hedge mazes, or probably various other scenarios.

        1. 2016-02-14_12.16.34.png
          2016-02-14_12.16.34.png
          70 kB
        2. 2016-02-14_12.16.38.png
          2016-02-14_12.16.38.png
          59 kB
        3. Rec011.avi
          7.00 MB

            Unassigned Unassigned
            brianmcn Brian McNamara
            Votes:
            12 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: