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

When upgrading from an old version using NBT format to a new version, the "change_page" click event in the text component within the page is lost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 24w19b
    • None
    • OS: Windows 11
      JRE: Java 21
    • Unconfirmed

      Put the summary of the bug you're having here

      What I expected to happen was...:
      The old version of the book item NBT should be correctly converted into the new version of the component, the text in the book click to jump to a specific page will work

      What actually happened was...:
      In the process of converting the book item NBT of the old version to the component of the new version, the click event of "change_page" in the text component of the book page is lost, resulting in the failure of the text segment of the book of the old version to jump to a specific page after the upgrade to the new version

      Steps to Reproduce:

      1. Use commands in older versions using the NBT item format to create a book that includes the ability to automatically turn to a specific page by clicking on specific words on the page

      2. Upgrade the corresponding archive to version 24w19b

      3. After the upgrade version, clicking on a specific text on a page automatically turns to a specific page

            Unassigned Unassigned
            BlockXe BlockXe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: