GBLib
No reviews yet
A patchouli alternative for fabric 1.20.2
Provides a framework or library for other mods to use.
Fabric is a mod loader for versions 1.14+ of Minecraft, particularly popular for client side and optimization mods.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
📘 GBLib — Guidebook Library for Fabric Mods
GBLib is a lightweight, data‑driven guidebook framework for Fabric mods on Minecraft 1.20.2.
It provides a clean API for creating in‑game documentation, tutorials, manuals, codices, and mod guides — all without writing a single line of GUI code.
Whether you’re building a small utility mod or a full content expansion, GBLib gives you a polished, customizable book system that fits seamlessly into Minecraft’s UI style.
✨ Features
📚 Data‑Driven Guidebooks
Define entire books using simple JSON files:
- Titles, authors, and metadata
- Pages with wrapped text
- Categories and documentation entries
- Fully reloadable via resource packs
No Java boilerplate required.
🖼️ Customizable GUI
GBLib includes a flexible guidebook screen:
- Supports custom textures
- 9‑slice rendering for crisp corners
- Adjustable size (default 185×144)
- Foreground rendering (no background bleed)
- Clean text wrapping and layout
Drop in your own texture and the library handles the rest.
🧩 Easy Integration
Register a guidebook item with one line:
GuidebookItem.setBookId(stack, new Identifier("modid", "my_book"))`
Open a book from anywhere:
GuidebookClientAPI.open(book)`
🔄 Hot‑Reload Support
Guidebooks reload automatically when resources reload, making iteration fast and painless during development.
📁 JSON Structure Example
{
"title": "Example Guidebook",
"author": "GBLib",
"pages": [
{ "type": "text", "content": "Welcome to your new guidebook!" }
]
}
Place guidebook files in:
assets/<namespace>/gamedata/guidebooks/<id>.json
🛠️ For Mod Developers
GBLib is designed to be:
- Lightweight — minimal overhead
- Modular — use only what you need
- Extendable — add custom page types, renderers, or UI elements
- Stable — consistent behavior across reloads and sessions
Perfect for:
- Tech mods
- Magic mods
- Adventure mods
- Tutorials and onboarding
- In‑game documentation
📦 Installation
Add GBLib as a dependency in your fabric.mod.json:
"depends": {
"fabricloader": ">=0.14.0",
"minecraft": "1.20.2",
"gblib": "*"
}
Then include it like any other library mod.
❤️ Why Use GBLib?
Because writing your own guidebook system is tedious.
GBLib gives you:
- A polished UI
- A clean API
- A data‑driven workflow
- A system that “just works”
Focus on your mod’s content — let GBLib handle the documentation.
📜 License
GBLib is open‑source and free to use in any Fabric mod.
Contributions, feature requests, and PRs are welcome.
🚀 Start Building Better Guidebooks
GBLib makes it easy to create beautiful, functional in‑game documentation.
If your mod needs a guidebook, GBLib is the simplest and cleanest way to add one.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources