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

Containers are locked when upgrading a world from certain versions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w45a
    • 24w39a, 1.21.3
    • None
    • Confirmed
    • Datafixer
    • Very Important
    • Platform

      When upgrading a world from a version between 14w07a and 18w50a, containers that did not have a Lock field are given a lock field. This does not affect worlds from versions before 14w07a or after 18w50a.

      How to reproduce

      1. Create a world in a version between 14w07a and 18w50a.
      2. Place a container (e.g., a chest) without a Lock field.
      3. Exit the world.
      4. Open the world in version 24w39a or later.
      5. Attempt to open the container.

      Observed behavior

      The container was locked to an empty custom_name component.

      Expected behavior

      The container would not be locked.

            gegy1000 [Mojang] Gegy
            MrMuskle MrMuskle
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: