Mojira Archive
MC-57866

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

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}
]}"]}

Fixed

Marcono1234

[Mojang] Searge (Michael Stoyke)

2014-06-19, 03:51 PM

2014-06-26, 07:25 AM

2014-06-19, 04:41 PM

0

0

Unconfirmed

book, color, command, json, style, tellraw

Minecraft 14w25b

Minecraft 14w26a