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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w35b, Minecraft 16w36a
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grum [Mojang] Grum (Erik Broes)
                Reporter:
                JacksMB Jackson
              • Votes:
                15 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: