Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have been trying to summon a book with text that when hovered over, would show an item. I have gotten it to work for the most part. Here is the command that works:
- give @p minecraft:written_book 1 0 {author:"",title:"",pages:["{text:\"Hover.\",hoverEvent:{action:show_item,value:\"{id:minecraft:stone,Damage:0,Count:1,tag:{display:{Lore:[\Line 2\,\Line 3\,\Line 4\]}}}\"}}"]}
- When I try to add a custom name to the item, but nothing works. Here is what I tried:
- give @p minecraft:written_book 1 0 {author:"",title:"",pages:["{text:\"Hover.\",hoverEvent:{action:show_item,value:\"{id:minecraft:stone,Damage:0,Count:1,tag:{display:{Name:"Line 1",Lore:[\Line 2\,\Line 3\,\Line 4\]}}}\"}}"]}
- The bold part is what I added. This yields an "unexpected token: L" from the command block. Does anyone know how to get this to work?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement