1
Having a Bit of a Problem with Written Books
I am not very new to redstone/commands/NBT Tags, but this is the first time I've wanted to use NBT tags with written books. I tried to test it with:
For some reason, I just get a blank written book with no title or author. Is there anything that I'm doing wrong? I am also a bit confused with the "pages" tag, too, so can someone explain to me that?
/give @p written_book 1 0 {tag:{author:"Master",title:"Happay"}}
For some reason, I just get a blank written book with no title or author. Is there anything that I'm doing wrong? I am also a bit confused with the "pages" tag, too, so can someone explain to me that?
Create an account or sign in to comment.
1
![TheRedSkorpion's Avatar](https://static.planetminecraft.com/files/avatar/default.jpg)
It's very easy I'm gonna show you
first, you need to get rid of the "tag" compound because your first curly braces ARE the tag compound.
So it should look like this:
Pages are simple, you just add: pages:["blabla page 1","blabla page 2","etc"]
So basicaly it's a list (list because []) of strings separated by commas.
Example:
The words line up automatically in the book (if you try the last command with the lore, you should see what I mean).
Hope it helped!
first, you need to get rid of the "tag" compound because your first curly braces ARE the tag compound.
So it should look like this:
/give @p written_book 1 0 {author:"Master",title:"Happay"}
Pages are simple, you just add: pages:["blabla page 1","blabla page 2","etc"]
So basicaly it's a list (list because []) of strings separated by commas.
Example:
/give @p written_book 1 0 {author:"Master",title:"Happay",pages:["this is the first page and blablablablabla","this is the second pages","and up to 50 I think"]}
The words line up automatically in the book (if you try the last command with the lore, you should see what I mean).
Hope it helped!