Mojira Archive
MC-57841

/give'ing written book with json data will show "Invalid Item" when hovered on in chat

How to reproduce:

Run the example command provided by Searge ( http://www.reddit.com/r/Minecraft/comments/28gm8z/12w25a_snapshot_and_1710_prerelease/cib2v8g?context=2345678 ):

/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}

]}"]}

Then open chat and hover on "[Getting around]", see attached image.

Fixed

[Mod] redstonehelper

[Mojang] Searge (Michael Stoyke)

2014-06-19, 02:50 PM

2015-05-07, 09:56 PM

2014-06-19, 06:35 PM

0

2

Unconfirmed

book, chat, data, give, hover, item, json, tag, written

Minecraft 14w25b

Minecraft 14w26a