-
Bug
-
Resolution: Invalid
-
None
-
1.19.4, 1.20 Pre-release 1
-
None
-
Confirmed
-
Rendering, Resource Packs
The bug
The texture which is displayed over the screen when inside of a solid block that causes suffocation is determined by what the "particle" texture is set to in the block's model.
As the screen overlay is not a particle, this is unintuitive. It also forbids giving the overlay texture a different texture from the particles. This is much the same as MC-240042 and MC-262516.
How to reproduce
- Download and apply the attached resource pack
- Optionally inspect the model files in the resource pack to confirm what textures are referenced
- Break/fall on/sprint on/etc. a coarse dirt block to check what particles it creates when broken
- Use whatever method is desired to clip inside of coarse dirt blocks, e.g. Spectator mode then switching to another gamemode, or a piston contraption
Expected results
The screen overlay texture would still look like the coarse dirt texture.
Actual results
The yellow concrete texture is displayed instead.
How to fix
A simple fix for this would be for model files to also include an "overlay" texture parameter, similar to "particle". This texture would be used for displaying screen overlays associated with the block (inside a nether portal, suffocation, when on fire, etc.) and would be independently customizable from particles.