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

Models that have locked uv in blockstates ignore texture rotation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.13-pre2, Minecraft 1.13-pre5, Minecraft 1.13-pre10, Minecraft 18w32a, Minecraft 1.13.2, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, 1.14.4
    • Fix Version/s: None
    • Confirmation Status:
      Unconfirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Models that have "uvlock" in blockstates set to true will ignore the "rotation" parameter (in models themselves) and therefore stretch the texture.
      For example, if you add "rotation" to any element of the fence_side model, the texture won't rotate or will stretch (depending on the side the texture is on). But if you then set "uvlock" in the fence blockstates to false, everything works as it should.

      Steps to reproduce

      Install the test resource pack attached to this issue. I've used the default fence_side.json model, because it has uvlock set to true by default, and only added the "rotation": 90 tag to the uv.

      Expected: texture would rotate and stretch to fit the side of an element.

      Result: nothing changes. 

      I've also done the same with the fence_post.json model to demonstrate that everything works as expected with it.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              1LotS 1LotS
            • Votes:
              5 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: