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

"shade" tag does not work for item models

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 1.8.7, Minecraft 15w31b, Minecraft 15w31c, Minecraft 15w32a, Minecraft 15w32c, Minecraft 15w33b, Minecraft 15w33c, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w34c, Minecraft 15w34d, Minecraft 15w35b, Minecraft 15w35d, Minecraft 15w35e, Minecraft 15w36a, Minecraft 15w36b, Minecraft 15w36c, Minecraft 15w36d, Minecraft 15w37a, Minecraft 15w38a, Minecraft 15w38b
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Community Consensus

      Description

      In custom resource packs, the "shade" tag does not work when used in an item model. This means that if a block is put on the head of the armor stand and rotated around it will change color quite drastically.

      Example item model that attempts to use "shade": false:

      {
          "textures": {
              "Black": "blocks/black",
              "Red": "blocks/red",
              "RedEdge": "blocks/red_edge",
              "White": "blocks/white",
              "WhiteEdge": "blocks/white_edge",
              "Green": "blocks/green",
              "GreenEdge": "blocks/green_edge"
          },
          "elements": [
              {
                  "from": [16,12,16],
                  "to": [31,27,31],
                  "shade": false,
                  "faces": {
                      "up": {
                          "uv": [1,1,1,1],
                          "texture": "#Black"
                      },
                      "down": {
                          "uv": [1,1,1,1],
                          "texture": "#Black"
                      },
                      "west": {
                          "uv": [1,1,1,1],
                          "texture": "#Black"
                      },
                      "east": {
                          "uv": [1,1,1,1],
                          "texture": "#Black"
                      },
                      "north": {
                          "uv": [1,1,1,1],
                          "texture": "#Black"
                      },
                      "south": {
                          "uv": [1,1,1,1],
                          "texture": "#Black"
                      }
                  }
              },
              {
                  "from": [16,12,32],
                  "to": [30,26,31],
                  "shade": false,
                  "faces": {
                      "up": {
                          "uv": [1,1,1,1],
                          "texture": "#Red"
                      },
                      "down": {
                          "uv": [1,1,1,1],
                          "texture": "#RedEdge"
                      },
                      "west": {
                          "uv": [1,1,1,1],
                          "texture": "#Red"
                      },
                      "east": {
                          "uv": [1,1,1,1],
                          "texture": "#Red"
                      },
                      "north": {
                          "uv": [1,1,1,1],
                          "texture": "#Red"
                      }
                  }
              },
              {
                  "from": [31,12,16],
                  "to": [32,26,30],
                  "shade": false,
                  "faces": {
                      "up": {
                          "uv": [1,1,1,1],
                          "texture": "#WhiteEdge"
                      },
                      "down": {
                          "uv": [1,1,1,1],
                          "texture": "#White"
                      },
                      "east": {
                          "uv": [1,1,1,1],
                          "texture": "#White"
                      },
                      "north": {
                          "uv": [1,1,1,1],
                          "texture": "#White"
                      },
                      "south": {
                          "uv": [1,1,1,1],
                          "texture": "#White"
                      }
                  }
              },
              {
                  "from": [16,27,16],
                  "to": [30,28,30],
                  "shade": false,
                  "faces": {
                      "up": {
                          "uv": [1,1,1,1],
                          "texture": "#Green"
                      },
                      "west": {
                          "uv": [1,1,1,1],
                          "texture": "#Green"
                      },
                      "east": {
                          "uv": [1,1,1,1],
                          "texture": "#Green"
                      },
                      "north": {
                          "uv": [1,1,1,1],
                          "texture": "#Green"
                      },
                      "south": {
                          "uv": [1,1,1,1],
                          "texture": "#Green"
                      }
                  }
              }
          ],
          "display": {
              "head": {
                  "rotation": [ 0, 0, 0 ],
                  "translation": [ 0, 0, 0 ],
                  "scale": [ 1.603, 1.603, 1.603 ]
              },
              "gui": {
                  "rotation": [ 0, 0, 0 ],
                  "translation": [ 0, 1, -16 ],
                  "scale": [ 1, 1, 1 ]
              }
          }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                magib1 magib1
              • Votes:
                7 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: