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

Structure block mode is saved in both block state and nbt data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 18w02a, Minecraft 18w19b, Minecraft 1.13-pre1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, 1.16.3, 20w51a, 21w03a, 1.16.5, 21w06a, 1.17.1, 1.18.1, 1.19, 1.19.1 Pre-release 5, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b
    • Confirmed
    • Block states, Save Data

      The bug

      It appears that the structure block saves its mode in both the block state and its nbt data.

      Expected: it is only saved in the block's states or nbt data, not both.

      How to reproduce

      1. Place a structure block
        /setblock ~ ~ ~2 structure_block
        
      2. Enable the debug menu and hover over the block and see the mode block state
      3. Use the /data get command to to read the NBT
        /data get block ~ ~ ~2 mode
        

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            11 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: