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

Can't use certain tags with show_item in a book(found a fix)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 14w31a
    • None
    • AMD Fx(tm-)-4300
      java 8 update 5
    • Unconfirmed

      /give @a minecraft:written_book 1 0 {author:"",title:"",pages:["{text:\"Hover.\",hoverEvent:{action:show_item,value:\"{id:minecraft:iron_pickaxe,tag:{ench:[{id:16,lvl:1}],display:{Lore:[\"Hello there.\"]}}}\"}}"]}

      entering display under show_item doesn't work when giving oneself a book..

      if one removes the quotations surrounding lore text... it will work

      /give @a minecraft:written_book 1 0 {author:"",title:"",pages:["{text:\"Hover.\",hoverEvent:{action:show_item,value:\"{id:minecraft:iron_pickaxe,tag:{ench:[{id:16,lvl:1}],display:{Lore:[\Hello there.\]}}}\"}}"]}

      However it does work with tellraw

      /tellraw @a {text:"Hover.",hoverEvent:{action:show_item,value:"{id:minecraft:iron_pickaxe,tag:{ench:[{id:16,lvl:1}],display:{Lore:[\"Hello there.\"]}}}"}}

            Unassigned Unassigned
            cyborg_alien Cyborg_Alien
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: