Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ProfessorFichte/More-RPG-Classes/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
More RPG Library provides a public API for mod developers to build upon. The library extends Spell Engine with new spell schools, custom impacts, entity attributes, status effects, and more.Main Mod Class
The entry point for the library isMRPGCMod.java located in the common module:
MOD_ID: The mod identifier string"more_rpg_classes"LOGGER: SLF4J logger instance for the library
common/src/main/java/net/more_rpg_classes/MRPGCMod.java:32-33
Architecture
More RPG Library uses a multi-loader architecture powered by Architectury:- Common module: Platform-agnostic code shared between loaders
- Fabric module: Fabric-specific implementation
- NeoForge module: NeoForge-specific implementation
Initialization Flow
TheMRPGCMod.init() method handles core initialization:
- Configuration Loading - Refreshes all config files (effects, tweaks, weakness, loot)
- Custom Impacts - Registers custom spell impacts
- Loot Table Events - Sets up loot table modification listeners
- Spell Schools - Initializes custom spell schools
- Entity Predicates - Registers custom entity predicates
- Compatibility - Initializes compatibility with other mods
common/src/main/java/net/more_rpg_classes/MRPGCMod.java:62-78
Core Features
Custom Spell Impacts
The library provides custom spell impact handlers that can be used in spell JSON files. See the Custom Spell Impacts guide for available impacts.Spell Schools
New spell schools are registered throughMoreSpellSchools.initialize(), including:
- Air Magic, Earth Magic, Water Magic, Nature Magic
- Fire Ranged, Frost Ranged
- Rage Melee
Entity Attributes
Custom entity attributes like Lifesteal, Damage Reflect, Rage, Spell Vampire, and various “Fuse” attributes.Status Effects
Harmful and beneficial status effects including Frozen Solid, Bleeding, Ignited, and more.Loot Functions
Custom loot table functions for:- Conditional spell scrolls from pools
- Binding spells to items
- Conditional item entries with fallbacks
Configuration System
The library uses Tiny Config for configuration management:config/more_rpg_classes/ directory.
Creating Identifiers
Use the helper method to create namespaced identifiers:MRPGCMod.id("custom_spell") returns more_rpg_classes:custom_spell
Reference: common/src/main/java/net/more_rpg_classes/MRPGCMod.java:108-110
Dependencies
More RPG Library requires the following mods: Required:- Spell Engine - Core spell system
- Spell Power - Spell power attributes
- Fabric API (Fabric) or Forgified Fabric API (NeoForge)
- Critical Strike - Enhanced critical strike mechanics
- Armory RPGs - Additional smithing ingredients
Next Steps
Dependency Setup
Add More RPG Library to your project
Custom Spell Impacts
Learn about available custom impacts
Spell Schools
Explore the new spell schools
Entity Attributes
View custom entity attributes