-
Bug
-
Resolution: Unresolved
-
None
-
1.21.1, 1.21.2 Pre-Release 1
-
None
-
Community Consensus
-
(Unassigned)
The bug
On some operating systems (Linux seems to be the most consistently affected), custom models for items and blocks can produce unexpected behaviour when mapping certain areas of the atlas.
How to reproduce
A resource pack is applied to this ticket.
- Download and apply the attached resource pack
- Look at some granite, diorite or andesite
- Take a screenshot
- Exit out of the game and close it
- Load back into the game with the resource pack still active
- Take another screenshot of the granite/diorite/andesite
- Compare
Expected results
Since the resource packs active are the exact same, the blocks in question wouldn't look any different at all.
Actual results
They do.
How to fix
When generating the atlases, it may be advisable to overwrite the old atlas with some sort of texture before then overwriting it with the other textures supplied by the resource pack (or, when starting the game, fill a field of the size required with that texture before overwriting that with the needed textures). This would eliminate any undefined, unwanted random behaviour like is shown here. I've provided an example checkerboard pattern that could be used for this purpose.