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

When updating to 1.20.5 or above, CustomCreativeLock will not be converted into the corresponding item stack component

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.6, 24w20a, 1.21 Pre-Release 4, 1.21 Release Candidate 1, 1.21
    • None
    • Community Consensus
    • Creative
    • Datafixer

      creative_slot_lock is set to be unusable, so CustomCreativeLock items will be converted to custom_data when they are upgraded to 1.20.5 or above.

      How to reproduce:

      1. Execute the following command in 1.20.4:
        /give @p minecraft:paper{CustomCreativeLock:{},display:{Name:'{"translate":"inventory.hotbarInfo","with":[{"keybind":"key.saveToolbarActivator"},{"keybind":"key.hotbar.1"}]}'}} 1
      2. Save it to the hotbar.
      3. Attempt to retrieve it from the Saved Hotbars menu.
      4. It cannot be retrieved (expected behavior).
      5. Load the world in 1.20.5 or above.
      6. Try to retrieve the item from the Saved Hotbars menu.

      Observed result:
      The item can be retrieved from the Saved Hotbars menu.

      Expected result:
      The item cannot be retrieved from the Saved Hotbars menu.

      Notes:
      In the video, these are similar items I created before by mimicking Saved Hotbars (for collection purposes).

        1. 2024-05-15 23-37-26.mp4
          1.03 MB
        2. 2024-05-15 23-40-52.mp4
          1.18 MB
        3. 2024-05-20 174237.png
          2024-05-20 174237.png
          42 kB

            Unassigned Unassigned
            Kirby46994 beebee
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: