Book generator

Text and colors

Book with colored text using /give commandLearn more

The book and pen have neither color nor style - they are placed only as a command. Server rules, guide for beginners, lore maps: write in codes &6 and &l, we will assemble the command.

My game select version

We'll remember in this browser and set up where your version is available. Open link settings are more important than this choice; the Vicki versions do not change.

Cover

The name is up to 32 characters, just like the book that was signed in the game.

Pages

Codes - as in MOTD: &c red, &l bold. A line break remains a break.

Game version

Result

/give command

The book is still empty - write the first page in step 2.

command

64 out of 256
/give @p minecraft:written_book[written_book_content={pages:[]}]

How to use

  1. Place a command block

    The book is almost always longer than 256 signs of chat. /give @p command_block - and paste the command into it.

  2. Start with the button

    A button or lever on the block - and the book is with the nearest player. Place it at spawn, and every newbie will have the rules.

  3. Edit - change the link

    The book is the address of this page. Save it: the next edition of the rules will take a minute.

What you need to know about books

  • Title and author are NOT color text. They are ordinary strings, and &6 will remain two signs in them. Color only works on pages and is a limitation of the game itself, not our form.
  • A command longer than the chat is the norm, not a bug. There are 256 characters in the chat room, and a book of three pages takes twice as many. Put her in the command block, there's no limit.
  • A blank page in the middle is a layout technique. She remains in place; the empty ones are cut off at the end, because these are just fields in which they did not write.
  • The book turns out already signed. written_book is a finished book and cannot be edited in the game. If you need a book and a pen, which will be added later, this is a different item (writable_book), and there will be no color in it.
  • Color resets the style. B &lbold&cred Only the first word will be bold - this is how the client works.
  • The newline in the field is saved. The client displays about fourteen lines on the page; how many characters this is depends on the width of the letters, and there is no exact number.
  • Since 1.20.5, the fields have moved to the component. Previously title, author and pages were located right in the item tag, now they are inside written_book_content. Select the form according to the server version.
  • Since 1.21.5, the text is an object, not a string with JSON. The page is written as {text:"Hello",color:"red"}; record '{"text":"Hello"}' From the old articles, the current game will literally show with brackets and quotations. For 1.20.5 - 1.21.4 select the middle form: it is a line with JSON.

The names of the fields are consistent with the Minecraft Wiki (Data component formula \written_book_content) and refer to Java Edition. Text pressings are not yet available -- they are already in the chat room. Tellraw generator.

Frequently asked questions

How to make a book with colored text in Minecraft?

With the /give command on written_book: in the book and pen there is no color or style at all, but through the command all § codes are available.

Why is the book title shown as text with quotation marks?

The title and the author are normal lines, not text components. Write {"Text" : "Rules"} in the field of the title gives a book that's called it.

The command for the book does not fit into the chat - what should I do?

This is the norm: 256 characters fit into a chat, and the book is almost always longer. This command is executed from the command block - there are no limits.