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

Shields changes its base color when damaged & repaired / Crafting different in colors results in damage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w35b, Minecraft 16w36a
    • None
    • Confirmed

      When shields have no pattern(s) applied, they use the damage value to determine color instead of the Base field in BlockEntityTag. This field is also used to track the durability of the shield, which has two effects:

      • Changing the durability of the shield (by taking damage or repairing it) changes the color
      • Crafting a new shield creates one that has lost 0 to 15 points of durability

      A simple fix would be to always add the BlockEntityTag when crafting a new shield and always set the damage value to 0, and for shields without BlockEntityTag (e.g. obtained through /give), to always display their color as black.

            grum [Mojang] Grum (Erik Broes)
            JacksMB Jack
            Votes:
            15 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: