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

Slime blocks missing cullface argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Minecraft 18w30b
    • Minecraft 1.12, Minecraft 17w31a, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.2, Minecraft 17w43a, Minecraft 17w43b
    • Confirmed

      Slime blocks are missing the cullface argument in parts of the slime.json model file. The game renders faces of the block that it shouldn't, as seen in the first picture. The second picture is using the fixed model file that I have provided. The text in that fixed model file is also below. My fix however, causes another problem which is that the center cube isn't rendered in gui's, item frames, or on the ground as an item. So a different fix would be required.

      {   "parent": "block/block",
          "textures": {
              "particle": "blocks/slime",
              "texture": "blocks/slime"
          },
          "elements": [
              {   "from": [ 3, 3, 3 ],
                  "to": [ 13, 13, 13 ],
                  "faces": {
                      "down":  { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
                      "up":    { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
                      "north": { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
                      "south": { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
                      "west":  { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" },
                      "east":  { "uv": [ 3, 3, 13, 13 ], "texture": "#texture" }
                  }
              },
              {   "from": [ 0, 0, 0 ],
                  "to": [ 16, 16, 16 ],
                  "faces": {
                      "down":  { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "down" },
                      "up":    { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "up" },
                      "north": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "north" },
                      "south": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "south" },
                      "west":  { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "west" },
                      "east":  { "uv": [ 0, 0, 16, 16 ], "texture": "#texture", "cullface": "east" }
                  }
              }
          ]
      }
      

        1. Fixed.png
          Fixed.png
          542 kB
        2. Current.png
          Current.png
          546 kB
        3. slime.json
          1 kB

            grum [Mojang] Grum (Erik Broes)
            Jkgearhart Jake Gearhart
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: