Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-262517

Block suffocation screen overlay textures are defined through the model particle parameter

XMLWordPrintable

    • Icon: Bug 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

      1. Download and apply the attached resource pack
      2. Optionally inspect the model files in the resource pack to confirm what textures are referenced
      3. Break/fall on/sprint on/etc. a coarse dirt block to check what particles it creates when broken
      4. 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.

        1. 2023-05-10_16.29.03.png
          225 kB
          Connor Steppie
        2. 2023-05-10_16.29.04.png
          227 kB
          Connor Steppie
        3. 2023-05-10_16.29.14.png
          476 kB
          Connor Steppie
        4. 2023-05-10_16.29.24.png
          48 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: