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

The pages tag is inconsistent between written books and writable books

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.2, Minecraft 19w11b, Minecraft 19w12b, 20w13b
    • None
    • Confirmed

      Let's start!

      Use command:

      1. /give @p writable_book{pages:['[{"text":"123"}]']}
      
      2. /give @p written_book{pages:['[{"text":"123"}]'],title:CustomBook,author:Player}
      

      then get: (book content)

      1. [{"text":"123"}]
      
      2. 123
      

      get a wrong? so I try to get their NBT:

       

      1. pages:['[{"text":"123"}]']
      
      2.pages:['{"text":"123"}']
      

      and I try a command:

      /give @p writable_book{pages:['[{"text":"123"}]'],title:CustomBook,author:Player}
      

      but I get

      123
      

      the "pages" NBT is the same, but I get a different result?

       (Can't use the list in the writable book?

            Unassigned Unassigned
            Yoooooory Milk Ory
            Votes:
            3 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: