
Deimos
Configuration and data generation library
About this Mod

Deimos is a data generation and configuration Minecraft library. With it, you can generate config files and display them in-game natively on Forge and Neoforge or with the help of Mod Menu on Fabric. Deimos allows you to create new recipes when the game starts, which makes them configurable. This also means you don't have to use JSON files, and changing Minecraft versions becomes significantly easier and less painful.
The configuration part of this library is based on MidnightLib by Motschen.
I made this mod to simplify my mods' development and allow me to use just one config library across all mod loaders and Minecraft versions. So if you want to see some examples of how to use this library in the wild you can check out the mods I made.
For developers
Below are the instructions for setting up and using Deimos. For more details about this library, be sure to check out its GitHub page.
Setup
You can either use my IntelliJ templates which generate a new MultiLoader project with Deimos preconfigured, or follow these instructions to set it up manually:
In build.gradle
repositories {
maven {
url = "https://api.modrinth.com/maven"
}
}
Forge and Neoforge:
dependencies {
implementation "maven.modrinth:deimos:${project.deimos_version}"
}
Fabric:
dependencies {
modImplementation "maven.modrinth:deimos:${project.deimos_version}"
//if you want to use modmenu
modCompileOnly "com.terraformersmc:modmenu:${project.modmenu_version}"
}
if you want to use the mod menu functionality you need to add a new repository:
repositories {
maven {
name = "Terraformers"
url = "https://maven.terraformersmc.com/"
}
}
You can find the specific Deimos version you need on Modrinth
How to use it
Creating configs
You can add configs in a class that extends DeimosConfig:
public class TestConfig extends DeimosConfig {
@Entry public static int test_int = 6;
@Entry public static List<String> test_string_list = Lists.newArrayList(
"minecraft:acacia_planks", "minecraft:andesite");
}
And then in your initialize method you need to call DeimosConfig.init like this:
DeimosConfig.init(MOD_ID, TestConfig.class);
Adding new recipes
To add new recipes you call methods from DeimosRecipeGenerator in your initialize method. You can add shapeless crafting, shaped crafting, smelting, smoking, blasting, campfire and stone cutting recipes. Here are some examples:
DeimosRecipeGenerator.createSmeltingJson(TestConfig.test_string_list.get(0), TestConfig.test_string_list.get(1), TestConfig.test_int, 0.5F);
DeimosRecipeGenerator.createShapedRecipeJson(
Lists.newArrayList('#'),
Lists.newArrayList(ResourceLocation.parse("sand")),
Lists.newArrayList("item"),
Lists.newArrayList(
"# ",
" #"
),
ResourceLocation.parse("stone"), 1);
Notice that you can use values from your config file. If the player changes them and restarts the game, the recipes will also change. This even works with modded items.
Available Versions
How to Install Deimos on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (26.2).
Install Mod
Open the mod browser in the dashboard and search for "Deimos". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
26.2, 26.1.2, 26.1.1 (+28 more)
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Deimos server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.2). You can switch loaders with one click in the panel.
Is Deimos compatible with fabric and forge and neoforge and quilt?
Deimos officially supports fabric, forge, neoforge, quilt for Minecraft 26.2, 26.1.2, 26.1.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Deimos – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Deimos consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Deimos with just one click on your server.


