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

Missing texture when an item requests a nonexistent texture for the camera overlay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.2 Pre-Release 1
    • None
    • Unconfirmed
    • (Unassigned)

      Relates to MC-276671 and MC-276673.

      The bug

      If an item which can be equipped defines a camera overlay, and points to a texture file which does not exist, the missing texture will be displayed.

      How to reproduce

      1. /give @s slime_block[equippable={slot:"head",equip_sound:"block.sculk_shrieker.shriek",dispensable:true,camera_overlay:thistexturedoesnotexist}]
      2. Equip

      Expected results

      Since the texture specified does not exist, there would be no camera overlay at all.

      Actual results

      Missing Texture Jumpscare

      How to fix

      If a nonexistent texture is specified, do not render an overlay at all.

        1. 2024-10-09_12.03.21.png
          27 kB
          Connor Steppie
        2. 2024-10-09_12.03.25.png
          570 kB
          Connor Steppie

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

              Created:
              Updated: