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

Paintings in structure blocks not loading in same place


    • 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
    • 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


      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. Paintings loaded one block higher.png
          Paintings loaded one block higher.png
          4.08 MB
        2. painting glitch 3.png
          painting glitch 3.png
          142 kB
        3. painting glitch 2.png
          painting glitch 2.png
          150 kB
        4. painting glitch 1.png
          painting glitch 1.png
          136 kB
        5. image-2024-02-17-04-43-00-608.png
          1.17 MB
        6. expectedresult.png
          986 kB
        7. actualresult.png
          1014 kB
        8. 2023-07-17_12.06.15-1.png
          314 kB
        9. 2023-07-17_12.06.15.png
          314 kB
        10. 2016-05-19_14.06.58.png
          388 kB
        11. 2016-05-19_14.06.30.png
          413 kB

            Unassigned Unassigned
            Aniline Aniline Selenic
            30 Vote for this issue
            13 Start watching this issue