Skip to main content

Prerequisites

Before installing More RPG Library, ensure you have:
  • Minecraft 1.21.1
  • Spell Engine 1.9.0+ (required dependency)
  • Either Fabric Loader 0.17.3+ or NeoForge 21.1.209+
More RPG Library is built using Architectury, providing seamless support for both Fabric and NeoForge.

Gradle Dependency Setup

For Fabric

1

Add repositories to your build.gradle

Add the required repositories for More RPG Library and its dependencies:
build.gradle
repositories {
    maven { url "https://maven.fabricmc.net/" }
    maven { url "https://maven.shedaniel.me/" }
    maven { url "https://maven.terraformersmc.com/releases/" }
    maven { url "https://jitpack.io" }
}
2

Add More RPG Library to dependencies

Add More RPG Library and Spell Engine to your dependencies:
build.gradle
dependencies {
    // Fabric API
    modImplementation "net.fabricmc.fabric-api:fabric-api:0.116.7+1.21.1"
    
    // Spell Engine (required)
    modImplementation "com.github.ZsoltMolnarrr:SpellEngine:1.9.0+1.21.1"
    
    // More RPG Library
    modImplementation "com.github.Fichtee:More-RPG-Library:2.5.18+1.21.1"
}
3

Add to fabric.mod.json

Declare More RPG Library as a dependency in your fabric.mod.json:
fabric.mod.json
{
  "depends": {
    "fabricloader": ">=0.17.3",
    "minecraft": "1.21.1",
    "spell_engine": ">=1.9.0",
    "more_rpg_classes": ">=2.5.18"
  }
}
4

Refresh Gradle and verify

Run the following command to refresh your Gradle dependencies:
Terminal
./gradlew --refresh-dependencies

For NeoForge

1

Add repositories to your build.gradle

Add the required repositories:
build.gradle
repositories {
    maven { url "https://maven.neoforged.net/releases" }
    maven { url "https://maven.shedaniel.me/" }
    maven { url "https://jitpack.io" }
}
2

Add More RPG Library to dependencies

build.gradle
dependencies {
    // NeoForge
    implementation "net.neoforged:neoforge:21.1.209"
    
    // Spell Engine (required)
    implementation "com.github.ZsoltMolnarrr:SpellEngine:1.9.0+1.21.1"
    
    // More RPG Library
    implementation "com.github.Fichtee:More-RPG-Library:2.5.18+1.21.1"
}
3

Add to neoforge.mods.toml

Declare the dependency in your META-INF/neoforge.mods.toml:
neoforge.mods.toml
[[dependencies.your_mod_id]]
    modId = "spell_engine"
    type = "required"
    versionRange = "[1.9.0,)"
    ordering = "NONE"
    side = "BOTH"

[[dependencies.your_mod_id]]
    modId = "more_rpg_classes"
    type = "required"
    versionRange = "[2.5.18,)"
    ordering = "NONE"
    side = "BOTH"
4

Refresh and build

Refresh your Gradle project:
Terminal
./gradlew --refresh-dependencies build

Version Information

The current versions are:
ComponentVersion
More RPG Library2.5.18
Minecraft1.21.1
Spell Engine1.9.0+
Fabric Loader0.17.3+
NeoForge21.1.209+
Always ensure your Spell Engine version is 1.9.0 or higher, as More RPG Library 2.5.18 requires API changes introduced in that version.

Runtime Dependencies

More RPG Library automatically includes these dependencies:
  • Spell Power API - For spell school attribute management
  • Ranged Weapon API - For ranged weapon damage integration
  • Cloth Config - For configuration screens
  • Player Animator - For custom animations

Verifying Installation

After adding the dependency, verify it’s working:
import net.more_rpg_classes.MRPGCMod;
import net.more_rpg_classes.custom.MoreSpellSchools;

public class TestMRPGLib {
    public static void init() {
        // Check if the library is loaded
        System.out.println("More RPG Library ID: " + MRPGCMod.MOD_ID);
        
        // Access spell schools
        var earthSchool = MoreSpellSchools.EARTH;
        System.out.println("Earth magic loaded: " + earthSchool.id);
    }
}

Next Steps

Quick Start Guide

Learn how to use the library’s features

API Reference

Explore the complete API documentation