-
Notifications
You must be signed in to change notification settings - Fork 0
Modpack Author Guide
- Use Minecraft 1.21.1 and NeoForge 21.1.x.
- Install the same Biblio JAR on server and clients.
- Add Scholar 1.2.4+ only if you want its presentation features.
- Do not install the legacy Biblio datapack alongside the mod JAR.
See Installation and Requirements.
Biblio's built-in vanilla chest behavior is guaranteed when eligible books are enabled:
- ordinary structure chests: 1 book
- villages: 2–4 books per chest
- stronghold libraries: 6–10 books per chest
Operators can disable catalog branches or individual volumes with /biblio. Those choices are saved per world and also constrain books injected by data-driven integrations.
Create a datapack in your modpack rather than editing another mod's loot table. Example:
<pack>/data/my_pack/biblio/loot_integrations/ancient_observatory.json
{
"target": "structuresplus:chests/ancient_observatory",
"any_tags": ["science", "philosophy"],
"exclude_tags": ["comedy"],
"rolls": {"min": 1, "max": 2},
"chance": 0.75
}The Biblio API must be present in the installed Biblio release; see the availability note in Data-Driven Loot Integration API.
Target a loot table, not a structure registry ID. A single structure may use a common chest, a treasure chest, and a basement chest with different IDs. Add each intended table to targets.
The owning mod's resources are the best source of truth. A file at:
data/structuresplus/loot_table/chests/ancient_observatory.json
has this loot table ID:
structuresplus:chests/ancient_observatory
Use tags for a theme that should grow with the Biblio catalog. Use works only when the pack design calls for exact titles. Combine any_tags, all_tags, and exclusions to keep the pool intentional.
Inspect data/biblio/work_tags.json inside the installed Biblio JAR for the exact tags and work IDs available in that build.
Every rule that targets a loot table is evaluated. Two compatibility datapacks can therefore both add books. Audit your pack for overlapping files, keep rolls modest, and use chance where a guaranteed addition is not appropriate.
- Run
/reloadand inspect the server log. - Run
/biblio selftestfor Biblio's deterministic diagnostics. - Generate a new example structure or use an unopened target container.
- Confirm the original mod's normal loot remains present.
- Disable the relevant Biblio catalog branch and confirm the integration respects it.
- Test without Biblio if your pack treats the structure compatibility file as optional.
Home · Full Catalog · Troubleshooting · Support · License
Documentation verified from repository source; snapshot prepared 2026-08-18.