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

Block Entities are not properly removed when 64 or more blocks are changed at the same time in a single chunk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 1.13-pre6
    • Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w49b, Minecraft 15w50a, Minecraft 15w51b, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 2, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w35a, Minecraft 16w41a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w02a, Minecraft 18w06a, Minecraft 18w20c
    • Windows 8
      Java 8 64bit (1.8_31)
      Intel Core i7 4700MQ
      NVIDIA GeForce GTX770M
      16GB RAM (4 allocated to MC)
    • Confirmed

      The bug

      This is a rendering bug to do with Tile Entities in a chunk. I have provided screenshots which aim to show how to reproduce too.

      If you have 64 or more Tile Entities within the same chunk and then "delete" them, using either /fill, /clone or (if they are signs) retracting them using pistons, when you place a new Tile Entity in that same spot, the previous Tile Entity will render over that or instead of the new Tile Entity.

      For example, if you have a wall of 64 chests, do /fill to get rid of them and then place a beacon down where one chest was, you'll get a chest that's rendered inside a beacon. If you place a sign down you get an error that says "Unable to locate sign".

      All rendering errors and effects are cleared with a relog, so perhaps this has something to do with the way chunks are updated or saved?

      How to reproduce

      1. Press F3+G to make sure the blocks you are filling are in the same chunk
      2. Use for example the /fill command to place 64 or more tile entities
        /fill ~1 ~ ~ ~5 ~4 ~4 enchanting_table
        
      3. Use for example the /fill command again to replace these tile entities with different tile entities
        /fill ~1 ~ ~ ~5 ~4 ~4 ender_chest
        

      Code analysis

      Code analysis by marcono1234 can be found in this comment.

        1. 2015-07-26_23.05.28.png
          2015-07-26_23.05.28.png
          167 kB
        2. 2015-07-26_23.07.14.png
          2015-07-26_23.07.14.png
          206 kB
        3. 2015-07-26_23.07.52.png
          2015-07-26_23.07.52.png
          659 kB
        4. 2015-07-26_23.08.58.png
          2015-07-26_23.08.58.png
          163 kB
        5. 2015-07-26_23.09.14.png
          2015-07-26_23.09.14.png
          200 kB
        6. 2015-07-26_23.09.45.png
          2015-07-26_23.09.45.png
          279 kB
        7. crash-2018-02-10_03.26.44-client.txt
          4 kB

            Unassigned Unassigned
            samasaurus6 samasaurus6
            Votes:
            44 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: