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

Paintings in structure blocks not loading in same place

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 16w20a, Minecraft 1.10 Pre-Release 2, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w14a, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12.2, Minecraft 19w12b, 1.16.1, 20w27a, 1.16.4, 20w45a, 1.19, 1.19.3, 1.19.4, 1.20.4, 24w10a, 24w11a, 1.20.6, 1.21 Pre-Release 4
    • Confirmed
    • Structures
    • Normal
    • Platform

      The bug

      When you place a painting in a Structure and save it using the Save Structure Block, and then Load the structure, the painting will sometimes load one block off.

      • All paintings with even height are loaded off in +Y axis
      • A painting with even width is off if
        • it looks towards +Z when loaded, then it's loaded off in +X
        • it looks towards -X when loaded, then it's loaded off in +Z

      Affects rotating/mirroring

      Cause

      The problem seems to be that the Pos tag of hanging entities refers to the center of the entity, however when it is created the passed position is the position of its corner. This could probably be solved by using the TileX, TileY and TileZ values for hanging entities.

        1. 2016-05-19_14.06.30.png
          413 kB
          Aniline Selenic
        2. 2016-05-19_14.06.58.png
          388 kB
          Aniline Selenic
        3. 2023-07-17_12.06.15.png
          314 kB
          nicolas8841
        4. 2023-07-17_12.06.15-1.png
          314 kB
          nicolas8841
        5. actualresult.png
          1014 kB
          Jason Paul
        6. expectedresult.png
          986 kB
          Jason Paul
        7. image-2024-02-17-04-43-00-608.png
          1.17 MB
          Naz Ikhsan
        8. painting glitch 1.png
          136 kB
          Adam Thompson
        9. painting glitch 2.png
          150 kB
          Adam Thompson
        10. painting glitch 3.png
          142 kB
          Adam Thompson
        11. Paintings loaded one block higher.png
          4.08 MB
          Tom Holtz

            Unassigned Unassigned
            Aniline Aniline Selenic
            Votes:
            41 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              CHK: