-
Bug
-
Resolution: Won't Fix
-
None
-
1.19.2, 1.20.4
-
None
-
Community Consensus
-
Resource Packs
The bug
The missing texture is internally stored as minecraft:textures/missingno. It is possible to directly reference this resource location via a custom model, however doing so will produce several warnings in the game log. These warning are distinct from the error that usually appears if an invalid texture is specified.
How to reproduce
A resource pack is attached to this issue. Make sure that the game debug log is open.
- Download and apply the resource pack
- Note the log output pertaining to the granite and diorite models
- Observe how granite and diorite blocks look as a result of applying this resource pack
Results
Both granite and diorite use the missing texture when this resource pack is applied. Diorite uses it because a nonexistent texture was referenced, and granite uses it because the missing texture was referenced explicitly. Diorite therefore results in an error. However, granite produces multiple warnings, rather than either another error or nothing at all.
Example granite error:
Unable to resolve texture reference: #down in minecraft:block/granite
Diorite error:
Using missing texture, file minecraft:textures/missingyes.png not found
How to fix
Fixing this issue depends on what Mojang regards as intentional.
If Mojang decides that it should be possible to explicitly reference the missing texture in models, then the "Unable to resolve texture reference" warnings should not appear in the game's log at all, as the usage of the missing texture in this content is non-problematic.
If Mojang decides that the missing texture should not be able to be explicitly referenced by models, then granite should output an identical error message to diorite, as "minecraft:missingno" would be an invalid texture to reference in this case.