Expand description
A mod’s own kinds of book page: .yui components with book_page,
compiled into yog_formats::book::page_type::PageTypes for the books that use
them (see that module).
<Component name="PatternPage" book_page="hexcasting:pattern">
<Property name="name" type="book_text"/>
<Property name="patterns" type="data" default="[]"/>
<BookHeader text="{x:Bind name}"/>
<Drawn drawer="hexcasting:pattern" h="64" data="{x:Bind patterns}" visible="{x:Bind patterns}"/>
</Component>Functions§
- find
- The mod’s page types: every
book_pagecomponent undersrc/. - find_
layouts - The mod’s recipe layouts: every
recipe_layoutcomponent undersrc/. - is_
book_ ui - Whether
rootis a book’s own UI — a kind of page (book_page) or a recipe layout (recipe_layout) — not a screen or a component.