#How to create a custom Guidebook

1 messages · Page 1 of 1 (latest)

rocky crypt
#

Hello I have a datapack and want to create a custom guidebook via the written book item and I have a few questions

Ty for helping me (Version 26.1.2)

Datapack Hub

Create /tellraw commands and text components (JSON text) for Minecraft Java Edition with our easy-to-use, modern online tool!

rocky crypt
#

btw pls ping : )

silent briar
fleet plinth
#

@rocky crypt you can use an item modifier, either on the book or in a loot_table for the book (loot functions are item modifiers)

#

Note that books have a fixed width of pixels

warm cedar
silent briar
#

just copy ot

#

*it

rocky crypt
fleet plinth
# rocky crypt Could you might give me an example command?

I would recommend using JSON files like:

{
  "function": "minecraft:set_written_book_pages",
  "pages": [
    {
      "raw": "hello World!"
    }
  ],
  "mode": "replace_all"
}```

The commands are so straight forward I would encourage you to just use the Minecraft wiki and read about the `item` and `loot` commands.