Skip to main content

Module book

Module book 

Source
Expand description

In-game book/documentation system (Patchouli-like).

Structs§

Book
The top-level book definition — replaces patchouli_books/<id>/book.json.
BookCategory
Represents a book category tab (e.g. “Basics”, “Patterns”).
BookEntry
One entry in a book (like a “page” in the TOC sidebar).
BookMacro
A macro substitution (e.g. $(thing) → red color span).
BookRegistry
Global registry for all in-game books.

Enums§

BookPage
A single page variant inside a book entry.

Functions§

crafting_page
crafting_page_with_text
entity_page
image_page
pattern_page
relations_page
smelting_page
spotlight_page
text_page