
Modrinth · Minecraft mod
Lodestone
An automatic content loader for Fabric mods.
Quick answer
Which Lodestone release matches Fabric?
Lodestone 1.8.0 targets 1.18, 1.18.1, 1.18.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Lodestone required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Lodestone 1.8.0 need?
1.8.0 on Fabric. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Lodestone without breaking your instance.
Built for Lodestone 1.8.0 on Fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.8.0. It targets 1.18, 1.18.1, 1.18.2 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.8.0. It opens that exact file at the source.
About this project
What does Lodestone add?
An automatic content loader for Fabric mods.
Usage
In order to use Lodestone directly,
please ensure that you add it as a dependency for your mod.
This mod does not add any content by itself.
Lodestone provides basic interfaces and APIs for
easily registering modded content during initialization.
The most important type provided is the Loaded interface,
which the mod is built around.
For a basic example, see the Cheese mod.
To create an automatically registered type,
simply implement the target environment's associated interface.
/** An item that is loaded at runtime. */
public class LoadedItem extends Item implements CommonLoaded {
// Required for all instances of `Loaded`. Allows Lodestone to group registered values by mod identifier.
@Override
public Identifier getLoaderId() {
return Identifier.of(YourMod.MOD_ID, "your_item");
}
// A function that registers the value at runtime.
@Override
public void loadCommon() {
Registry.register(Registries.ITEM, this.getLoaderId(), this);
}
}
Each mod environment has its own dedicated interface:
CommonLoadedloads the value on the "common" environment, meaning both the client and the server.ClientLoadedonly loads the value on the client instance.ServerLoadedonly loads the value on the server instance.DataGeneratingonly loads the value during Fabric's data generation task.
These are intended to be used within each mod initializer to load it properly.
public class YourMod implements ModInitializer {
public static final String MOD_ID = "your_mod";
public static final LoadedItem YOUR_ITEM = new LoadedItem(new Settings());
@Override
public void onInitialize() {
// Registers this item for later loading.
Lodestone.register(CommonLoaded.class, YOUR_ITEM);
// Which is then done here.
Lodestone.load(CommonLoaded.class, MOD_ID);
}
}
Lodestone also provides an abstract class and two annotations for automatic registration of values.
public final class ItemLoader extends AutoLoader {
@LoadingPriority(-1) // Controls the loading order. In this case, this loads last.
public static final LoadedItem ITEM_1 = new LoadedItem("item_1", new Settings());
public static final LoadedItem ITEM_2 = new LoadedItem("item_2", new Settings());
public static final LoadedItem ITEM_3 = new LoadedItem("item_3", new Settings());
public static final LoadedItem ITEM_4 = new LoadedItem("item_4", new Settings());
public static final LoadedItem ITEM_5 = new LoadedItem("item_5", new Settings());
@IgnoreLoading({ }) // Prevents this value from being loaded.
public static final LoadedItem NULL = null;
@Override
public Identifier getLoaderId() {
return Identifier.of(YourMod.MOD_ID, "items");
}
}
This is then registered in a very similar way.
public class YourMod implements ModInitializer {
public static final String MOD_ID = "your_mod";
public static final ItemLoader ITEMS = new ItemLoader();
@Override
public void onInitialize() {
// Registers all items for later loading.
ITEMS.register();
// Which is then done here.
Lodestone.load(CommonLoaded.class, MOD_ID);
}
}
Depending on Lodestone
Lodestone's sole purpose is to be used as a library for other mods.
If you would like to depend on Lodestone for your Fabric mod,
add the following to your Gradle manifest:
# gradle.properties
lodestone_version = 1.8.0
// build.gradle
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
modImplementation "com.github.Jaxydog:Lodestone:${project.lodestone_version}"
// Or, to alternatively depend on the most recent commit:
modImplementation 'com.github.Jaxydog:Lodestone:main-SNAPSHOT'
}
Lodestone should work with many older versions of Minecraft,
but only the latest game version is guaranteed to have proper support.
I am currently not interested in backporting to versions prior to roughly 1.18,
but if you encounter any issues feel free to let me know anyway.
Project description from Modrinth.
Pick your setup
Lodestone by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader build1.21.3
1 loader build1.21.2
1 loader build1.21.1
1 loader build1.21
1 loader build1.20.6
1 loader build1.20.5
1 loader build1.20.4
1 loader buildShowing the newest 12 of 24 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Lodestone versions and loaders
1.8.0
lodestone-1.8.0.jar
30 Jul 2025
1.7.1
lodestone-1.7.1.jar
9 Mar 2025
1.7.0
lodestone-1.7.0.jar
26 Feb 2025
1.6.0
lodestone-1.6.0.jar
5 Oct 2024
1.5.3
lodestone-1.5.3.jar
4 Oct 2024
1.5.3-rc1
lodestone-1.5.3-rc1.jar
4 Oct 2024
1.5.2
lodestone-1.5.2.jar
4 Oct 2024
1.5.1
lodestone-1.5.1.jar
31 Aug 2024
1.5.0
lodestone-1.5.0.jar
14 Jun 2024
1.4.0
lodestone-1.4.0.jar
13 Jun 2024
1.3.0
lodestone-1.3.0.jar
12 Jun 2024
1.2.0
lodestone-1.2.0.jar
12 Jun 2024
Looking for an older file? The official Modrinth project page is in Resources.