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

Written books with JSON don't get created correctly (no color and styles)

XMLWordPrintable

    • Unconfirmed

      I already saw screenshots where this bug weren't, but for me the the colors and styles aren't visible:

      /give @p written_book 1 0 {title:"Getting around",author:"Searge",pages:["{text:\"Welcome, \",extra:[
      {selector:\"@p\",color:red}
      ,
      {text:\"\n\nthis is your list of destinations:\n\n\"}
      ,{text:\"1. \",color:orange,extra:[
      {text:\"Spawn\",color:dark_green,bold:true}
      ],hoverEvent:
      {action:show_text,value:\"This worlds spawn point\"}
      ,clickEvent:{action:run_command,value:\"/tp @p -305 56 169\"}},
      {text:\"\n\"}
      ,{text:\"2. \",color:orange,extra:[
      {text:\"Home\",color:dark_green}
      ],hoverEvent:
      {action:show_text,value:\"Your main base\"}
      ,clickEvent:{action:run_command,value:\"/tp @p 5 56 96\"}},
      {text:\"\n\"}
      ,{text:\"3. \",color:orange,extra:[
      {text:\"Mine\",color:dark_green}
      ],hoverEvent:
      {action:show_text,value:\"The old mines\"}
      ,clickEvent:{action:run_command,value:\"/tp @p 15 56 -318\"}},
      {text:\"\n\nPlease click one of them, \"}
      ,
      {selector:\"@p\",color:red}
      ]}"]}
      

        1. 14w25b.png
          1.29 MB
          [Mod] Marcono1234

            searge [Mojang] Searge (Michael Stoyke)
            marcono1234 [Mod] Marcono1234
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: