RPG Lore
A data-driven lore book mod for Minecraft Forge 1.20.1. Define custom books via simple JSON files and have them drop from mobs based on configurable conditions.
截图
介绍
THIS PROJECT IS NO LONGER MAINTAINED. For Future Updates: Visit CurseForge
RPG Lore
Data-driven lore books that drop from mobs. Collect them all in the Lore Codex.
RPG Lore lets modpack makers and server owners add custom lore books to their world using simple JSON files. Books drop from mobs based on configurable conditions — entity type, biome, dimension, time of day, weather, Y-level, and more. No coding required.
Key Features
Lore Books
- Fully data-driven — each
.jsonfile in the config folder becomes a lore book. Add, edit, or remove books without recompiling. - Conditional drops — control exactly which mobs drop which books with 11 different filter types.
- Custom styling — per-book title color, author color, description, enchantment glint toggle, and generation labels.
- Stylized title page — every book opens with an auto-generated title page featuring the book’s title (scaled, bold, colored) and author.
- Custom book GUI — lore books use a unique texture distinct from vanilla written books.
- Per-player copy limits — optionally restrict how many times each player can receive a specific book.
- Looting scaling — optionally increase drop chance with the Looting enchantment.
Lore Codex
- Personal collection book — a soul-bound item that stores your lore books directly inside it.
- Books go into the Codex — when you pick up a new lore book, it’s consumed from the world and stored in the Codex. No inventory clutter.
- Browsable GUI — custom parchment-styled screen with paginated book list, collection counter (n/N), and per-book Read and Copy actions.
- Copy mechanic — create a physical copy of any collected book into your inventory. Copies always go to your inventory with generation incremented.
- Soul-bound — granted on first login, kept on death, cannot be dropped.
- Duplicate prevention — toggle to block picking up lore books you’ve already collected.
- Curios API support — equip the Codex in a dedicated “codex” Curios slot. Soft dependency — works without Curios installed.
For Pack Makers
- Hot-reloadable — use
/rpglore reloadto apply changes without restarting. - 11 drop condition types — entity type, entity tags, biome, biome tags, dimension, Y-range, time of day, weather, player kill requirement, per-book chance override, and per-player copy limits.
- Book categories — organize books with the
categoryfield for clean Codex grouping. - Codex exclusion — hide debug or temporary books from the Codex with
codex_exclude. - Per-book glint — toggle the enchantment shimmer on/off per book.
- Comprehensive README — auto-generated
_README.txtin the config folder documents every field.
Administration
/rpglore reload— hot-reload all book definitions/rpglore give— give books to players (with optional copy-limit tracking)/rpglore list— list all loaded books with categories/rpglore collection— players can view their own collection (no OP required)/rpglore codex give/reset/add/remove/status— full Codex administration
Quick Start
- Drop the JAR into your
mods/folder. - Start the game once — the mod generates example configs and a sample book.
- Add your
.jsonbook files toconfig/rpg_lore/books/. - Use
/rpglore reloadto apply changes. - Players receive a Lore Codex on first join. Right-click to browse your collection.
Example Book Definition
{
"title": "The Ancient Battle",
"author": "Unknown Chronicler",
"weight": 5,
"title_color": "FFD700",
"description": "A faded account of a great battle.",
"category": "History",
"drop_conditions": {
"mob_types": ["minecraft:zombie", "minecraft:skeleton"],
"biome_tags": ["minecraft:is_overworld"],
"time": "NIGHT_ONLY"
},
"pages": [
"Long ago, in these very fields...",
"The battle raged for three days..."
]
}
Configuration
All settings are in config/rpg_lore/server.toml and config/rpg_lore/client.toml. Every Codex feature can be individually toggled on or off.
Compatibility
- Curios API (optional) — equip the Codex in a dedicated Curios slot. All features work from either inventory or Curios slot. The mod functions fully without Curios installed.
Localization
Localized in 60 languages including English, Chinese, Spanish, Hindi, Arabic, French, German, Russian, Japanese, Korean, and 50 more.
Requires: Minecraft 1.20.1 | Forge 47.3.0+ | Java 17 Optional: Curios API 5.4.7+ License: MIT Source: GitHub
常见问题
RPG Lore 支持哪些 Minecraft 版本?
RPG Lore 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
RPG Lore 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
otectus 的其他作品
查看全部 →Combat Toggle
Combat Toggle is a lightweight server-side PvP control mod that prevents accidental or unwanted player combat by requiring mutual opt-in before PvP damage is allowed. Combat only activates when both players are in Combat mode.
Ars ‘n Spells
Ars ’n Spells is a compatibility mod that bridges Ars Nouveau and Iron’s Spells ’n Spellbooks by integrating all mana-related systems.
Sophisticated Tab
A simple mod which integrates Sophisticated Backpacks and Legendary Tabs for convenience; access your backpack from the inventory with the simple click of a tab, returning to your inventory the same way.
Effective Instruments
Effective Instruments adds an aura system to musical instrument mods (Genshin Instruments, Even More Instruments, Immersive Melodies). While you play, nearby allies receive effects from your chosen aura, or swap to offensive to debuff every mob in range.
评论
登录后评论和评分