Prerequisites
Before installing Lithostitched, ensure you have:- Java Development Kit (JDK) 21 or higher
- A Minecraft mod development environment (Fabric or NeoForge)
- Gradle 8.0 or higher
- Minecraft 1.21.1 or 1.21.11
Fabric Installation
Step 1: Add the Repository
Add the Modrinth Maven repository to yourbuild.gradle or build.gradle.kts:
Step 2: Add the Dependency
Add Lithostitched to your dependencies:Step 3: Declare the Dependency
Add Lithostitched as a dependency in yourfabric.mod.json:
fabric.mod.json
NeoForge Installation
Step 1: Add the Repository
Add the Modrinth Maven repository to yourbuild.gradle or build.gradle.kts:
Step 2: Add the Dependency
Add Lithostitched to your dependencies:Step 3: Declare the Dependency
Add Lithostitched as a dependency in yourneoforge.mods.toml:
neoforge.mods.toml
For Datapack Creators
If you’re creating a datapack that uses Lithostitched features, you don’t need to install anything in your development environment. Simply:- Download Lithostitched from Modrinth
- Install it in your Minecraft mods folder
- Create your datapack with Lithostitched worldgen modifiers
Verification
To verify Lithostitched is installed correctly:Troubleshooting
Dependency Resolution Errors
If Gradle cannot resolve the Lithostitched dependency:- Verify the Modrinth Maven repository is added correctly
- Check your internet connection
- Try running with
--refresh-dependenciesflag - Ensure the version number matches exactly (including the
-fabric-or-neoforge-suffix)
Version Conflicts
If you encounter version conflicts with other mods:- Check that all mods target the same Minecraft version
- Verify Fabric Loader version (should be 0.18.2+) or NeoForge version
- Update to the latest version of conflicting dependencies
Missing Classes at Runtime
For Fabric, the dependency scope must bemodImplementation to include Lithostitched in the runtime classpath.
Next Steps
Quickstart Guide
Create your first worldgen modifier and see Lithostitched in action
