Skip to content
uxTools
Gaming

Minecraft Written Book Generator

Build a /give command for a written book using the modern component syntax (1.20.5+).

Command
/give @p minecraft:written_book[written_book_content={title:"My Book",author:"Steve",pages:['{"text":"page 1"}','{"text":"page 2"}'],generation:0}] 1
Quick starts

Book

Title
Author
Target
Generation

Pages

Page 1
Color
Page 2
Color

About the written_book component

The output uses the modern item-component syntax introduced in Java Edition 1.20.5+. The written_book_content component carries the title, author, generation and pages, each serialized as a single-quoted JSON text component. Page text is JSON-escaped automatically so the command stays valid, and empty trailing pages are dropped.