Block Entities are not properly removed when 64 or more blocks are changed at the same time in a single chunk
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
- Press F3+G to make sure the blocks you are filling are in the same chunk
- Use for example the /fill command to place 64 or more tile entities
/fill ~1 ~ ~ ~5 ~4 ~4 enchanting_table
- 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.
2015-07-26, 04:23 PM
2018-07-07, 11:27 PM
2018-07-07, 11:21 PM
44
18
/clone, /fill, block, block-entity, chunk, client, packet
Minecraft 1.8.7 - Minecraft 18w20c
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