Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-181944

When updating to versions past 1.20.80, blocks in item form in old worlds using numerical IDs are not upgraded correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.21.30.23 Preview, 1.21.30
    • 1.21.20.24 Preview, 1.21.20.23 Preview, 1.21.20.22 Preview, 1.21.20.21 Preview, 1.21.10.20 Preview, 1.21.10.22 Preview, 1.20.81 Hotfix, 1.21.10.24 Preview, 1.21.10.23 Preview, 1.21.0, 1.21.1 Hotfix, 1.21.2 Hotfix
    • None
    • Confirmed
    • Windows
    • 1272148

      When upgrading worlds that were using numerical IDs prior to version 1.5.0, block-type items in containers like chests or item frames would disappear. This did not occur in version 1.19.70, so the bug might have been introduced sometime after 1.19.70 and before 1.20.80.
      The old world referred to here refers to worlds with an older version, not the world type (like Superflat, etc.)

      Steps to reproduce:

      1. Download, import and open MCPE-181944.mcworld in a version prior to 1.21.10.22
      2. Import and open the world in a version after 1.21.10.22

      Observed result:
      In versions prior to 1.21.10.22, most of the chest's contents have disappeared.
      In versions after and including 1.21.10.22, the different plank types have all turned into oak planks; the same goes for fences.

      Expected result:
      The old items that used to use numerical IDs are properly converted into their respective namespaced IDs.

      Notes:
      This bug was partially fixed in 1.21.10.22, the ID would be updated correctly to the new version of the block, but the "damage" value was not updated properly. Due to this, blocks cannot be placed properly.

      As attached:
      2024-06-08 202923.png
      2024-06-08 20-41-13.mp4

        1. 2024-05-24 17-40-28.mp4
          6.69 MB
          beebee
        2. 2024-05-24 17-44-57.mp4
          1.17 MB
          beebee
        3. 2024-05-24 175731.png
          978 kB
          beebee
        4. 2024-05-30 204437.png
          590 kB
          beebee
        5. 2024-06-08 202923.png
          667 kB
          beebee
        6. 2024-06-08 20-41-13.mp4
          3.74 MB
          beebee
        7. MCPE-181944.mcworld
          1.26 MB
          beebee

            Kirby46994 beebee
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: