LocalizedBook
Description
The LocalizedBook
mod enhances your Minecraft experience by allowing the localization of hardcoded values such as 'name', 'landing_text', and 'subtitle' in Patchouli's book.json
. This functionality is essential for modpack developers and content creators who wish to offer multilingual support for patchouli books from other mods that hardcode these values.
Features
- Localize
name
,landing_text
, andsubtitle
in Patchouli books. - Easy configuration using TOML format.
- Default setting options to revert to original text.
Installation
- Install Fabric API/Forge and Patchouli mod.
- Download
LocalizedBook
and place it in yourmods
folder. - Restart Minecraft to complete the installation.
Configuration
To configure your books for localization:
- Navigate to
.minecraft\config\localizedbook\mainconfig.toml
. - Add your book entries under the format:
"modid:bookid" = ["custom name or 'default'", "custom landing text or 'default'", "custom subtitle or 'default'"]
You can also write translation keys there just like in Patchouli.
For example, to customize the Botania Lexicon:
"botania:lexicon" = ["Botania Guide", "Welcome to the world of Botania", "Your Guide to Botany and Magic"]
You can set any value to "default"
to use the default value from the book.json.
Usage
After configuring your books, the changes will take effect in-game after you restart minecraft. Ensure that your book IDs are correctly entered to reflect the changes properly.
Enjoy a fully localized experience in your Minecraft modded environment!
External resources
Project members
marlester-dev
Member