Guide Tome: Pack Authors
On this page (16)
- Datapack book definitions
- Schema
- Minimal example ( data/mypack/guidetome/books/occultism_dictionary.json )
- Full example ( data/mypack/guidetome/books/farmers_cookbook.json )
- Item tags
- Example: allow a mis-named guide book
- Example: block Enchanted Books from crafting absorption and protect a modded item
- Curios slot customization
- Slot definition ( data/guidetome/curios/slots/guide_tome.json )
- Player entity binding ( data/guidetome/curios/entities/player.json )
- Slot item tag ( data/curios/tags/items/guide_tome.json )
- Disabling or overriding the crafting recipe
- Auditing your modpack
- World upgrades and mod removal
- Upgrading existing worlds
- Removing Guide Tome from an existing world
This guide covers every datapack, resource-pack, recipe, and audit tool available for customizing Guide Tome (guidetome) in modpacks and servers.
- Minecraft
pack_format:15(forge:resource_pack_format: 15,forge:data_pack_format: 10). - Live reload: Datapack book definitions, item tags, recipes, and
guidetome-common.tomlall apply live on/reloador config reload without requiring a restart.
Note on authoring custom guide pages: Guide Tome does not define its own book-page or chapter JSON format; it acts as a virtual library for manuals provided by other mods. To author your own multi-chapter in-game guide book in JSON, create a Patchouli book under
data/<namespace>/patchouli_books/— Guide Tome automatically detects and opens every Patchouli book (bothpatchouli:guide_bookitems and customdont_generate_bookitems).
Datapack book definitions
Define standalone modded books in a datapack at:
data/<namespace>/guidetome/books/<name>.json
Each file registers a priority-100 ItemBasedAdapter on the server and syncs automatically to clients via SyncBookDefsPacket (up to 4096 definitions, 256-character max name length). Because datapack books sync over the network, this is the preferred way to add standalone books on dedicated servers.
Schema
| Field | Required | Type | Description |
|---|---|---|---|
item |
Yes |
"modid:item_path" |
Registry ID of the guide book item to absorb and replay via UseSimulator |
name |
No |
String (max 256 chars) |
Custom display title in the library list and unlock toast; omit or leave blank to use the item’s localized name |
system |
No |
"modid:system_path" |
Custom adapter systemId; defaults to guidetome:datapack/<namespace>/<file_path> |
Minimal example (data/mypack/guidetome/books/occultism_dictionary.json)
{
"item": "occultism:dictionary_of_spirits"
}
Full example (data/mypack/guidetome/books/farmers_cookbook.json)
{
"item": "farmersdelight:cookbook",
"name": "Chef's Cookbook",
"system": "mypack:farmers_cookbook"
}
Item tags
Two append-friendly item tags ("replace": false) control override behavior:
#guidetome:guide_books(data/guidetome/tags/items/guide_books.json) — Positive opt-in (priority50). Forces absorption for legitimate guides skipped by the heuristic catch-all (for example, a guide whose registry path containsruneor lacks a book keyword). Cannot override structural functional-item safety (FunctionalItemDetector), global exclusions, or#guidetome:absorb_blocklist.#guidetome:absorb_blocklist(data/guidetome/tags/items/absorb_blocklist.json) — Hard opt-out evaluated before all adapters (Patchouli, datapacks, config,#guidetome:guide_books, heuristic, and deliberate crafting).
Example: allow a mis-named guide book
data/mypack/tags/items/guide_books.json:
{
"replace": false,
"values": [
"examplemod:runic_compendium_scroll_guide"
]
}
Example: block Enchanted Books from crafting absorption and protect a modded item
data/mypack/tags/items/absorb_blocklist.json:
{
"replace": false,
"values": [
"minecraft:enchanted_book",
"examplemod:functional_codex"
]
}
Curios slot customization
When Curios is installed, the wearable guide_tome slot is defined purely in data and assets so packs can retexture, reorder, or disable it.
Slot definition (data/guidetome/curios/slots/guide_tome.json)
{
"order": 210,
"size": 1,
"icon": "guidetome:slot/empty_guide_tome_slot",
"drop_rule": "ALWAYS_KEEP",
"validators": ["curios:tag"]
}
Player entity binding (data/guidetome/curios/entities/player.json)
{
"entities": ["minecraft:player"],
"slots": ["guide_tome"]
}
Slot item tag (data/curios/tags/items/guide_tome.json)
{
"replace": false,
"values": ["guidetome:guide_tome"]
}
Slot notes:
- Set
"size": 0in an overridingdata/guidetome/curios/slots/guide_tome.json(or remove"guide_tome"fromplayer.json) to hide the dedicated Curios slot in a pack.- Changing
"drop_rule"in JSON alone will not make an equipped Guide Tome drop on death, becauseGuideTomeCurio#getDropRulealso returnsALWAYS_KEEPon the item itself.- Resource packs: The slot icon texture lives at
assets/guidetome/textures/slot/empty_guide_tome_slot.png(16×16). If retexturing the library window (assets/guidetome/textures/gui/guide_tome.png), keep the image dimensions strictly 256×256 (blitNineSlicedin Minecraft 1.20.1 assumes a 256×256 sprite sheet).
Disabling or overriding the crafting recipe
The tome-plus-books filing recipe lives at data/guidetome/recipes/tome_absorb.json:
{
"type": "guidetome:tome_absorb",
"category": "misc"
}
You can disable it either by setting absorption.absorbViaCrafting = false in config/guidetome-common.toml, or by overriding data/guidetome/recipes/tome_absorb.json with a forge:false condition:
{
"type": "guidetome:tome_absorb",
"category": "misc",
"conditions": [
{
"type": "forge:false"
}
]
}
Auditing your modpack
Before shipping a modpack, verify exactly what Guide Tome will and will not absorb:
- Launch the pack and run
/guidetome debug scan. - Open
guidetome-scan.txtin the server/instance directory and inspect the Would be absorbed section mod by mod. - Add any functional gear, spell items, or progression tomes to
absorbExclusionItems/absorbExclusionMods(inconfig/guidetome-common.toml) or#guidetome:absorb_blocklist. - Check Heuristic rejected in
guidetome-scan.txtfor legitimate manuals suppressed by a path substring (likeruneorskill) and add them todata/<ns>/guidetome/books/*.jsonor#guidetome:guide_books. - Use
/guidetome debug identifywhile holding a specific item to inspect its exact tags, NBT, functional verdict, adapter match, and Patchouli open strategy. - Run
/reload(for datapacks/tags) or save the config (for TOML edits) and re-run/guidetome debug scan <namespace>to confirm changes immediately.
World upgrades and mod removal
Upgrading existing worlds
- From
0.9.x/1.0.0/1.0.1→1.0.2: Fully compatible — network protocol remains6, public API remains4, and saves/datapacks require no migration. - Upgrading from pre-
1.0.1worlds: If players absorbed functional books (such as Iron’s Spells scrolls or newly excluded tomes) before1.0.1‘s structural safety layer was added, run/guidetome recover <target>and/guidetome recover confirm <target>to hand those retained items back as physical, extraction-marked stacks. - Upgrading from pre-
1.0.2configs: If an oldguidetome-common.tomlstill setsabsorbWholeStack = true, Guide Tome ignores it and safely conserves extra copies. - Upgrading from pre-
0.6.0configs:showUnlockToastmoved toconfig/guidetome-client.toml. If an old common config hadshowUnlockToast = false, toasts remain off until both files aretrue.
Removing Guide Tome from an existing world
- Before uninstalling, have players click Extract on any vanilla written books, books and quills, enchanted books, or unique manuals they want to keep as physical items.
- Once removed, Forge safely drops the unknown
guidetome:guide_tomeitem and ignores the player capability tag without breaking the world save.