Relates to MC-276568.
The bug
When loading the game's resources, Minecraft generates mipmapped textures for all types of chests. However, it does not use them at all, wasting game resources.
How to reproduce
A resource pack is attached to this ticket.
Download and apply the attached resource pack
/fill ~ ~ ~ ~60 ~ ~60 minecraft:chest/fill ~ ~ ~ ~60 ~ ~60 minecraft:calciteCompare
Expected results
The chests would fade into a smooth gray in the distance, much like the calcite does.
Actual results
No such thing happens and we get incredibly grainy Moire patterns.
How to fix
Either make chests use mipmapping like other blocks (easily doable if MC-276877 gets fixed), or don't generate these mipmapped textures for chests at all. Several other atlases (gui, map decorations, mob effects, paintings, particles) don't generate mipmapped versions of themselves, so why should chests if they're not going to be used?
Can confirm.