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

Slots with item outline textures behave inconsistently when items are placed inside of these slots

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.14.4, 1.20.1, 23w33a, 23w35a, 1.20.2 Pre-release 1, 1.20.2 Pre-release 2, 1.20.2, 23w40a, 23w41a, 23w42a
    • None
    • Confirmed
    • Textures and models, UI

      The bug

      Some block and entity inventory slots contain item outline textures overlaid on top of the slot to indicate what they accept. When an item is placed into these slots, the game does not behave consistently with respect to if the outline disappears or not.

      Prior to 23w31a, these cases were covered in MC-74408. However, that ticket now only covers brewing stands, even though the issue persists for other slot types.

      How to reproduce

      A resource pack is attached to this ticket which replaces several item textures and models with small squares, allowing the outline to still be seen if it is not hidden if an item is added to a slot.

      Table of slots

      The following are all of these outline-using slots as well as how they behave when an item is added. The expected behaviour is that the outline would disappear when an item is placed within, which does not always happen.

      Slot Result Notes
      Player armor slots Outline hidden Original behaviour
      Player offhand slot Outline hidden  
      Enchanting table lapis lazuli slot Outline hidden Fixed in 23w31a by MC-259401
      Smithing table template slot Outline hidden  
      Smithing table material slot Outline hidden  
      Smithing table input item slot Outline hidden  
      Loom banner slot Outline hidden see also MC-264592
      Loom banner pattern slot Outline hidden see also MC-264592
      Loom dye slot Outline hidden see also MC-264592
      Brewing stand fuel slot Outline still present Likely caused by MC-74408
      Brewing stand bottle slot Outline still present Likely caused by MC-74408
      Horse/donkey/mule saddle slot Outline still present see also MC-264592
      Horse armor slot Outline still present see also MC-264592
      Llama carpet slot Outline still present see also MC-264592

      How to fix

      Fixing MC-74408 would likely fix the brewing stand case. For the horse and llama cases, the normal "slot" texture would need to be used, with the "armor slot"/"saddle slot" texture overlaid on top, like is the case with most other slots.

      Further notes

      On a tangientally related note, it may also be worth moving all of the slot outline textures from the "items" directory to the "gui" directory since they're GUI related. Loom, horse and llama slot textures are already under "gui", so no change is needed here. The following textures would be moved and possibly renamed:

      • item/empty_armor_slot_boots.png
      • item/empty_armor_slot_chestplate.png
      • item/empty_armor_slot_helmet.png
      • item/empty_armor_slot_leggings.png
      • item/empty_armor_slot_shield.png
      • item/empty_slot_amethyst_shard.png
      • item/empty_slot_axe.png
      • item/empty_slot_diamond.png
      • item/empty_slot_emerald.png
      • item/empty_slot_hoe.png
      • item/empty_slot_ingot.png
      • item/empty_slot_lapis_lazuli.png
      • item/empty_slot_pickaxe.png
      • item/empty_slot_quartz.png
      • item/empty_slot_redstone_dust.png
      • item/empty_slot_shovel.png
      • item/empty_slot_smithing_template_armor_trim.png
      • item/empty_slot_smithing_template_netherite_upgrade.png
      • item/empty_slot_sword.png

        1. 2023-08-25_12.36.10.png
          215 kB
          Connor Steppie
        2. 2023-08-25_12.36.13.png
          213 kB
          Connor Steppie
        3. 2023-08-25_12.36.49.png
          76 kB
          Connor Steppie
        4. 2023-08-25_12.36.51.png
          80 kB
          Connor Steppie
        5. 2023-08-25_12.37.02.png
          158 kB
          Connor Steppie
        6. 2023-08-25_12.37.11.png
          157 kB
          Connor Steppie
        7. 2023-08-25_12.37.19.png
          156 kB
          Connor Steppie
        8. 2023-08-25_12.37.30.png
          168 kB
          Connor Steppie
        9. 2023-08-25_12.37.33.png
          162 kB
          Connor Steppie
        10. 2023-08-25_12.37.57.png
          152 kB
          Connor Steppie
        11. 2023-08-25_12.37.58.png
          154 kB
          Connor Steppie
        12. 2023-08-25_12.38.04.png
          152 kB
          Connor Steppie
        13. 2023-08-25_12.38.13.png
          141 kB
          Connor Steppie
        14. 2023-08-25_12.38.30.png
          154 kB
          Connor Steppie
        15. 2023-08-25_12.38.31.png
          156 kB
          Connor Steppie
        16. 2023-08-25_12.38.32.png
          155 kB
          Connor Steppie
        17. 2023-08-25_12.38.33.png
          156 kB
          Connor Steppie
        18. 2023-08-25_12.38.41.png
          157 kB
          Connor Steppie
        19. 2023-08-25_12.39.04.png
          148 kB
          Connor Steppie
        20. 2023-08-25_12.39.05.png
          151 kB
          Connor Steppie
        21. 2023-08-25_12.39.06.png
          153 kB
          Connor Steppie
        22. 2023-08-25_12.39.10.png
          154 kB
          Connor Steppie
        23. 2023-08-25_12.39.25.png
          115 kB
          Connor Steppie
        24. 2023-08-25_12.39.27.png
          135 kB
          Connor Steppie

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

              Created:
              Updated:
              CHK: