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

Using a sprite(flat cube) in a custom item model applies both textures for both sides of the sprite in third person view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.1, Minecraft 1.9.1, Minecraft 1.9.2
    • Java 1.8.0_77 x64, Windows 10, NVIDIA Geforce GT 635M, Intel Core i3
    • Unconfirmed

      I try to make custom models for items, using sprites in it (in realistic fern model, for example), but in third person view both textures of sprite appear at the same time, which makes it glitchy-looking.

      Steps to reproduce:
      I variant:
      1. /summon Enderman ~ ~ ~

      {carried:38s,carriedData:1,NoAI:1b}

      2. /gamemode 3 to take a closer look on the model.
      II variant:
      1. Create a resourcepack.
      2. Change any item model, so it will have this part of code (taken from vanilla sunflower model):
      "textures": {
      "back": "blocks/double_plant_sunflower_back",
      "front": "blocks/double_plant_sunflower_front"
      },
      "elements": [
      {
      "from": [ 9.6, 15, 1 ],
      "to": [ 9.6, 30, 15 ],
      "rotation":

      { "origin": [ 8, 24, 8 ], "axis": "z", "angle": 22.5, "rescale": false }

      ,
      "shade": false,
      "faces": {
      "west":

      { "uv": [ 0, 0, 16, 16 ], "texture": "#back" }

      ,
      "east":

      { "uv": [ 0, 0, 16, 16 ], "texture": "#front" }

      }
      }
      ]
      3. Get the item with changed model in your hand.
      4. Press F5.

        1. 2016-03-31_00.44.37.png
          2016-03-31_00.44.37.png
          81 kB
        2. 2016-03-31_00.44.20.png
          2016-03-31_00.44.20.png
          63 kB
        3. 2016-03-31_00.44.13.png
          2016-03-31_00.44.13.png
          85 kB
        4. 2016-03-24_21.52.18.png
          2016-03-24_21.52.18.png
          1.44 MB
        5. 2016-03-24_21.51.52.png
          2016-03-24_21.51.52.png
          1.41 MB
        6. 2014-12-07_15.01.52.png
          2014-12-07_15.01.52.png
          1.03 MB
        7. 2014-12-07_15.01.21.png
          2014-12-07_15.01.21.png
          182 kB

            Unassigned Unassigned
            1LotS 1LotS
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: