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

Enchantment glint is applied to models once for each texture layer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w18a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 2, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 21w44a, 1.18 Pre-release 5, 1.18 Pre-release 6, 1.18 Release Candidate 2, 1.18, 1.18.1 Pre-release 1, 1.18.1 Release Candidate 2, 1.18.1, 22w03a, 22w05a, 22w06a, 1.18.2 Pre-release 1, 1.18.2 Pre-release 2, 1.18.2, 22w11a, 22w12a, 22w13a, 22w14a, 22w15a, 22w16b, 22w17a, 22w18a, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 3, 1.19 Pre-release 4, 1.19 Pre-release 5, 1.19 Release Candidate 1, 1.19 Release Candidate 2, 1.19, 22w24a, 1.19.1 Pre-release 1, 1.19.1 Release Candidate 1, 1.19.1 Pre-release 2, 1.19.1 Pre-release 4, 1.19.1 Pre-release 6, 1.19.1 Release Candidate 2, 1.19.1, 1.19.2 Release Candidate 1, 1.19.2, 22w42a, 22w43a, 22w45a, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Release Candidate 1, 1.19.3 Release Candidate 3, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 2, 1.19.4 Release Candidate 3, 1.19.4, 23w12a, 23w13a, 23w14a, 23w16a, 23w17a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1, 23w31a, 23w32a, 1.20.2 Pre-release 1, 1.20.2 Release Candidate 2, 1.20.2, 23w40a, 23w41a, 23w42a, 23w43a, 23w43b, 23w44a, 23w45a, 23w46a, 1.20.3 Pre-Release 1, 1.20.3 Pre-Release 2, 1.20.3 Pre-Release 3, 1.20.3 Release Candidate 1, 1.20.3, 1.20.4, 23w51b, 24w03b, 24w04a, 24w05a, 24w05b, 24w06a, 24w07a, 24w09a, 24w10a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 3, 1.20.5 Release Candidate 1, 1.20.5 Release Candidate 2, 1.20.5, 1.20.6, 24w18a, 24w19b, 24w21b, 1.21 Pre-Release 1, 1.21, 24w33a, 1.21.1, 24w34a, 24w35a, 24w36a, 24w37a, 24w39a, 24w40a, 1.21.2 Pre-Release 1, 1.21.2 Pre-Release 3, 1.21.2 Pre-Release 4, 1.21.2 Release Candidate 1, 1.21.2 Release Candidate 2, 1.21.2, 24w44a, 24w45a, 24w46a
    • None
    • Confirmed
    • Items, Rendering, Resource Packs
    • Normal
    • Platform

      The bug

      When an enchanted item model uses more than one layer, the opacity of the enchantment glint on it is increased for each additional layer. This can be seen on leather armour both when worn and in the inventory, although I first noticed this with a resource pack that added an alternate model for enchanted books using CustomModelData. I have provided a resource pack that demonstrates this in this report.

      How to reproduce

      1. Download the attached resource pack [^Enchantment Glint Bug Demo.zip]
      2. Pre-24w09a:
        /give @s minecraft:enchanted_book
        /give @s minecraft:enchanted_book{CustomModelData:1}
        /give @s minecraft:enchanted_book{CustomModelData:2}
        /give @s minecraft:enchanted_book{CustomModelData:3}
        Post-24w09a:
        /give @s minecraft:enchanted_book
        /give @s minecraft:enchanted_book[minecraft:custom_model_data=1]
        /give @s minecraft:enchanted_book[minecraft:custom_model_data=2]
        /give @s minecraft:enchanted_book[minecraft:custom_model_data=3]

        The enchantment glint intensity increases with an increasing amount of layers

       

        1. armour model example.png
          armour model example.png
          1.11 MB
        2. Enchantment Glint Bug Demo-1.zip
          26 kB
        3. stacking example.png
          stacking example.png
          79 kB
        4. vanilla example.png
          vanilla example.png
          10 kB

            Unassigned Unassigned
            koopatroopa9931 Squid Eevee
            Votes:
            50 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              CHK: