Repository navigation
Page Types
Guided offers 16 built-in page types. Each page is defined inside the pages array of your entry. A page contains its type and a definition object, which stores its parameters.
All parameters are listed below. Except for type and definition, parameters belong inside the definition object. Dotted paths and [] indicate fields inside nested objects or arrays. Page types in the last column use the guided: namespace. Required fields apply only to the specified page types.
| Parameter | Type | Required | Default | Description | Page types |
|---|---|---|---|---|---|
type |
string | Yes | — | ID of page type. | Page object |
definition |
json object | Yes | — | Contains page parameters. | Page object |
title |
boolean / string | No | false | Displays a title and divider above the page. Set to true to display the entry name, false to hide the title, or a string to display custom text or a translation key. |
All |
condition |
json object | No | Always passes | Condition controlling page visibility. | All |
provider_type |
string | No | guided:hide |
Provider used when the condition fails. | All |
alternative |
json object | For alternative provider | null |
Replacement page object. | All |
text |
string | No | Empty | Translated or literal text. | text, image, gallery, entity, itemstack, multiblock, advancement, link, shaped_crafting, shapeless_crafting, smelting, smoking, blasting, recipe_list |
items |
array of strings | Yes | — | List items, translated individually. | list |
ordered |
boolean | No | false | Number items instead of bullets. | list |
image |
texture ID | Yes | — | Image PNG path. | image |
aspect_ratio |
string | No | 1:1 |
Width:height ratio, e.g. 16:9. | image, gallery |
texture_width |
integer | No | Rendered width | Source texture width in pixels. | image, gallery |
texture_height |
integer | No | Rendered height | Source texture height in pixels. | image, gallery |
start_x |
number | No | 0 | Source crop left. | image, gallery |
start_y |
number | No | 0 | Source crop top. | image, gallery |
end_x |
number | No | Texture width | Source crop right. | image, gallery |
end_y |
number | No | Texture height | Source crop bottom. | image, gallery |
crop_to_fit |
boolean | No | false | Crop source to fit target aspect instead of stretching. | image, gallery |
show_frame |
boolean | No | true | Show adaptive preview border. | image, gallery |
tooltip |
string or array of strings | No | Absent | Translated formatted hover text. | image, entity, itemstack |
images |
array of texture IDs or image objects | Yes | — | Nonempty image list. Object fields are the image parameters above. | gallery |
tooltip |
string or array of strings | No | Absent | Gallery-level translated formatted hover text. | gallery |
entity |
entity type ID | Yes | — | Entity to preview. | entity |
can_rotate |
boolean | No | true | Automatic rotation; manual left drag remains available. | entity, itemstack, multiblock |
can_spin |
boolean | No | true | Legacy fallback if can_rotate is absent. | entity, itemstack, multiblock |
rotation_speed |
number | No | 30 | Automatic rotation in degrees per second. | entity, itemstack, multiblock |
size |
number | No | 1 | Base model scale multiplier, clamped 0.01–10. | entity, itemstack, multiblock |
translation |
object | No | Zero offsets | Optional numeric x, y, z render offsets. | entity, itemstack, multiblock |
can_scale |
boolean | No | true | Enable scroll zoom. | entity, multiblock |
can_drag |
boolean | No | false | Enable right-button panning. | entity, itemstack, image, gallery |
min_pitch |
number | No | −180 | Minimum pitch angle. | entity, itemstack, multiblock |
max_pitch |
number | No | 180 | Maximum pitch; at least min_pitch. | entity, itemstack, multiblock |
min_scale |
number | No | 0.25 | Minimum interactive zoom, at least 0.01. | entity, itemstack, multiblock, image, gallery |
max_scale |
number | No | 5 | Maximum interactive zoom, at least min_scale. | entity, itemstack, multiblock, image, gallery |
stack |
ItemStack object | Yes | — | Required id; optional count and components. | itemstack |
huge |
boolean | No | false | Larger preview and item name below. | itemstack |
show_tooltip |
boolean | No | false | Show vanilla item tooltip. | itemstack |
tooltip_mode |
string | No | append |
Append custom tooltip to item tooltip, or replace. |
itemstack |
can_scale |
boolean | No | false | Enable scroll zoom. | itemstack, image, gallery |
blocks |
array of block objects | Yes | — | Nonempty structure, maximum 512 blocks. | multiblock |
slices |
boolean or array of integers | No | false | True derives layers from block Y; array selects layers. Button cycles all/layers. | multiblock |
can_drag |
boolean | No | true | Enable right-button panning. | multiblock |
blocks[].block |
block ID | Yes | — | Block to render. | multiblock |
blocks[].x |
number | No | 0 | Relative X position. | multiblock |
blocks[].y |
number | No | 0 | Relative Y position. | multiblock |
blocks[].z |
number | No | 0 | Relative Z position. | multiblock |
blocks[].tooltip |
string or array | No | Block display name | Per-block hover tooltip. | multiblock |
advancement |
advancement ID | Yes | — | Advancement to display. | advancement |
buttons |
array of objects | No | Empty | Button definitions; only first three rendered. | link |
buttons[].text |
string | No | Link | Translated label. | link |
buttons[].url |
string | For working link | Empty | HTTP(S) destination; required for functional link. | link |
buttons[].texture |
sprite ID | No | guided:widgets/link_button |
Button background. | link |
pattern |
array of strings | Yes | — | Up to three rows. | shaped_crafting |
key |
object | Yes | — | Maps single-character symbols to item values. | shaped_crafting |
result |
item ID or stack | For output | Empty | Output slot; required for meaningful recipe. | shaped_crafting, shapeless_crafting, smelting, smoking, blasting |
show_tooltip |
boolean | No | true | Enable slot tooltips. | shaped_crafting, shapeless_crafting, smelting, smoking, blasting |
ingredients |
array of item values | Yes | — | Input slots. | shapeless_crafting |
ingredient |
item ID or stack | For input | Empty | Input slot; required for meaningful recipe. | smelting, smoking, blasting |
cooking_time |
integer | No | 200 | Displayed duration in ticks. | smelting |
cooking_time |
integer | No | 100 | Displayed duration in ticks. | smoking, blasting |
recipe_type |
resource ID | Yes | — | One of the five recipe types above. | recipe_list |
recipes |
array of definition objects | Yes | — | Nonempty list of recipe definitions, without type/definition wrapper. | recipe_list |
interval |
integer | No | 60 | Ticks between recipes; minimum 1. | recipe_list |
show_tooltip |
boolean | No | Selected recipe default | Overrides selected recipe tooltip setting. | recipe_list |
image |
texture ID | No | Absent | Optional image stretched to fill the page. | empty |
texture_width |
integer | No | 256 | Source texture width in pixels. | empty |
texture_height |
integer | No | 256 | Source texture height in pixels. | empty |
translation.x |
number | No | 0 | Render offset on the X axis. | entity, itemstack, multiblock |
translation.y |
number | No | 0 | Render offset on the Y axis. | entity, itemstack, multiblock |
translation.z |
number | No | 0 | Render offset on the Z axis. | entity, itemstack, multiblock |
stack.id |
string | Yes | — | Item identifier. | itemstack |
stack.count |
integer | No | 1 | Item count. | itemstack |
stack.components |
json object | No | Absent | Minecraft item data components. | itemstack |
For gallery, image objects can override gallery-level image rendering settings (image, aspect ratio, source dimensions, crop coordinates, crop_to_fit and show_frame). Captions, tooltips and interaction settings are read from the gallery definition itself.
Example page definition:
{
"type": "guided:text",
"definition": {
"text": "Welcome to my guidebook!"
}
}Use title: true inside definition to display the entry name above the page. For conditions and alternatives see Condition Providers and Page Providers.
Displays formatted, wrapped text.
Example definition:
{
"type": "guided:text",
"definition": {
"title": true,
"text": "<b>Hello!</b><br>Welcome."
}
}Displays a bullet or numbered list.
Example definition:
{
"type": "guided:list",
"definition": {
"ordered": true,
"items": [
"Collect wood",
"Craft planks"
]
}
}Creates a blank page. You can also specify an image to fill the page using image, texture_width and texture_height.
Example definition:
{
"type": "guided:empty",
"definition": {}
}Example with an image:
{
"type": "guided:empty",
"definition": {
"image": "example:textures/gui/blank_page.png",
"texture_width": 128,
"texture_height": 128
}
}Displays a fitted image with optional caption.
Example definition:
{
"type": "guided:image",
"definition": {
"image": "example:textures/gui/diagram.png",
"texture_width": 160,
"texture_height": 90,
"aspect_ratio": "16:9",
"text": "Diagram"
}
}Specify the actual source texture dimensions to avoid incorrect texture sampling. Set crop_to_fit to true to crop the source to the requested aspect ratio instead of stretching it.
Displays one image at a time with previous and next buttons. Individual image objects can override the gallery image rendering settings.
Example definition:
{
"type": "guided:gallery",
"definition": {
"images": [
"example:textures/gui/a.png",
{
"image": "example:textures/gui/b.png",
"aspect_ratio": "16:9",
"texture_width": 160,
"texture_height": 90
}
],
"show_frame": true
}
}Renders a client-created entity preview; does not spawn it in the world.
Example definition:
{
"type": "guided:entity",
"definition": {
"entity": "minecraft:fox",
"can_rotate": true,
"text": "A fox"
}
}Renders a 3D item preview using the native ItemStack codec.
Example definition:
{
"type": "guided:itemstack",
"definition": {
"stack": {
"id": "minecraft:diamond_sword",
"count": 1,
"components": {
"minecraft:damage": 12
}
},
"huge": true,
"show_tooltip": true
}
}The stack object uses Minecraft’s ItemStack codec. A custom tooltip appends to the vanilla item tooltip by default, even when show_tooltip is false. Use tooltip_mode: "replace" to show only custom tooltip text.
Renders up to 512 blocks using default block states. Left drag rotates, right drag pans by default; scroll zooms. View returns toward default after inactivity.
Example definition:
{
"type": "guided:multiblock",
"definition": {
"blocks": [
{
"block": "minecraft:stone",
"x": 0,
"y": 0,
"z": 0
},
{
"block": "minecraft:glass",
"x": 0,
"y": 1,
"z": 0
}
],
"slices": true
}
}Each block uses its default block state. Block state properties and block entity NBT are not supported. Hover over a block to display its name or custom tooltip. Use slices: true to derive layers from block Y positions, or an array such as [0, 1] to select specific layers.
Shows the advancement display icon and title/description tooltip. Does not itself gate the page.
Example definition:
{
"type": "guided:advancement",
"definition": {
"advancement": "minecraft:story/mine_diamond",
"text": "Find diamonds."
}
}This page displays an advancement available on the client; it does not require the player to complete it. Use a condition to restrict access.
Displays up to three external link buttons at the bottom. HTTP(S) links open a confirmation screen.
Example definition:
{
"type": "guided:link",
"definition": {
"text": "Documentation",
"buttons": [
{
"text": "Website",
"url": "https://example.com"
}
]
}
}Recipe pages display recipes defined in your guidebook JSON. They do not load recipes from the server. Use an item ID or an ItemStack object with id, optional count and optional components for each item. Use null for empty slots. Recipe IDs and ingredient tags are not resolved. Hold Shift while hovering over an item to display its ID.
Draws up to 3 rows × 3 columns. Unmapped symbols are empty.
Example definition:
{
"type": "guided:shaped_crafting",
"definition": {
"pattern": [
"PP",
"PP"
],
"key": {
"P": "minecraft:oak_planks"
},
"result": "minecraft:crafting_table"
}
}Fills up to nine slots in order.
Example definition:
{
"type": "guided:shapeless_crafting",
"definition": {
"ingredients": [
"minecraft:gunpowder",
"minecraft:paper"
],
"result": {
"id": "minecraft:firework_rocket",
"count": 3
}
}
}Furnace recipe diagram.
Example definition:
{
"type": "guided:smelting",
"definition": {
"ingredient": "minecraft:raw_iron",
"result": "minecraft:iron_ingot"
}
}Smoker recipe diagram.
Example definition:
{
"type": "guided:smoking",
"definition": {
"ingredient": "minecraft:beef",
"result": "minecraft:cooked_beef"
}
}Blast furnace recipe diagram.
Example definition:
{
"type": "guided:blasting",
"definition": {
"ingredient": "minecraft:raw_gold",
"result": "minecraft:gold_ingot"
}
}Cycles explicit recipes of a single supported type. Nested recipe lists are not supported.
Example definition:
{
"type": "guided:recipe_list",
"definition": {
"recipe_type": "guided:smelting",
"interval": 80,
"recipes": [
{
"ingredient": "minecraft:raw_iron",
"result": "minecraft:iron_ingot"
},
{
"ingredient": "minecraft:raw_gold",
"result": "minecraft:gold_ingot"
}
]
}
}Entity, item and multiblock previews support left-button rotation. Scroll zoom is enabled by default for entities and multiblocks; right-button panning is enabled by default for multiblocks. Use can_scale and can_drag to change these defaults. After inactivity, model views return toward their default orientation and scale.
Recipe sprites use a logical size of 100 × 70 pixels. In the updated crafting layout, input slots are 16 × 16 pixels at X = 4, 21, 38 and Y = 8, 25, 42. The output starts at (80, 24). Cooking inputs start at (21, 24). See Styles for texture overrides.
Page text and supported tooltips can use translation keys and formatting tags. See Localization and Text Formatting.
For registering your own page types see Addon Development.