Skip to content

Entries

Vortianski edited this page Nov 28, 2026 · 1 revision

Working with Entries

Create assets/<namespace>/guided/<book>/entries/<id>.json. Entry IDs are relative filenames without .json. Normal entries open pages; category entries redirect to another visible category.

Entry parameters

Parameter Type Required? Default Description
name string No Entry ID Display name or translation key.
category string No default Existing category ID; required if no default category exists.
priority integer No 0 Ascending order in lists; ties by ID.
x integer No 0 Browser grid X, −4096 to 4096; one cell = 32 logical pixels.
y integer No 0 Browser grid Y, same range; positive is down.
icon item ID No minecraft:book Entry icon.
icon_texture texture ID No Absent 16 × 16 PNG replacing icon.
background string No default ID of built-in background or custom GUI sprite. See below.
background_texture string No Absent Custom texture or sprite overriding background.
background_texture_width integer No 24 Source PNG width.
background_texture_height integer No 24 Source PNG height.
type string No guided:entry Normal entry or guided:category redirect.
target string For redirect — Destination category ID.
parents array No Absent Connection sources in same visible category.
condition object No Always passes Condition that controls entry visibility.
pages array No Empty Ordered page objects; omit for redirect.
{
  "name": "Welcome",
  "category": "default",
  "icon": "minecraft:book",
  "x": 0,
  "y": 0,
  "pages": [
    {
      "type": "guided:text",
      "definition": {
        "text": "Welcome to the handbook!"
      }
    }
  ]
}

Connections and redirection

Parents draw lines, not unlock requirements. Both endpoints must be visible and in the same category. Parent strings are shorthand for objects.

Parameter Type Required? Default Description
entry string Yes — Parent entry ID.
line_enabled boolean No true Draw the connection.
line_reversed boolean No false Swap the axis order of the bend.
draw_arrow boolean No true Draw arrow toward child.
{
  "name": "Next step",
  "category": "default",
  "x": 2,
  "y": 1,
  "parents": [
    "welcome",
    {
      "entry": "other",
      "line_reversed": true,
      "draw_arrow": false
    }
  ],
  "pages": []
}
{
  "name": "Go to machines",
  "category": "default",
  "type": "guided:category",
  "target": "machines",
  "icon": "minecraft:iron_block"
}

Category redirects are always treated as read and cannot be marked unread. They do not need pages.

Entry backgrounds

Guided offers 15 built-in entry background identifiers. To change the background of your entry use the background parameter.

Shape Normal Goal Challenge
Default default goal challenge
Square square goal_square challenge_square
Circle circle goal_circle challenge_circle
Pentagon pentagon goal_pentagon challenge_pentagon
Octagon octagon goal_octagon challenge_octagon

Example definition:

{
  "background": "challenge_octagon"
}

By default, goal and challenge use the same sprites as goal_square and challenge_square respectively. The legacy style keys point_goal and point_challenge remain supported.

Goal and challenge backgrounds only change the appearance of an entry. They do not affect its conditions or reading progress.

You can override the new built-in backgrounds in your style using their identifiers as texture keys. For example:

{
  "challenge_octagon": "example:custom/challenge_octagon",
  "goal_circle": "example:custom/goal_circle"
}

Custom entry backgrounds

background_texture overrides background. It accepts a GUI sprite ID or a direct PNG texture ID. Both render at 24 × 24 GUI pixels. Optional background_texture_width and background_texture_height specify the source PNG dimensions (default 24 each; minimum 1).

{
  "background_texture": "example:textures/gui/node.png",
  "background_texture_width": 48,
  "background_texture_height": 48
}

See Page Types, Condition Providers and Page Providers.

Clone this wiki locally