Skip to content

适用于 Minecraft 26.3 的 Deimos 模组

配置与数据生成库

次浏览
36 次浏览
已更新
已更新 31.10.2026

关于 Deimos 模组

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.

Laser Bridges & Doors
Wishful Recipes
More Music Discs
Server-Side Horror
EXP Counter
Flat EXP Costs
Lava Turns Sand into Glass
Husks Drop Sand

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.

如何安装 Deimos

With Millida Launcher

  1. Install Millida Launcher

    The launcher is free: download it at millida.net/launcher and sign in with any nickname.

  2. Click “Install” on this page

    The launcher opens and installs the mod for Minecraft 26.1–26.3 on Fabric, Forge, NeoForge or Quilt automatically.

  3. Launch the game

    A profile with it appears in the launcher: click “Play”.

Manually

  1. Install Fabric, Forge, NeoForge or Quilt

    The loader must match the game version of the mod file, for example Minecraft 26.3. After installing it, a separate profile appears in your launcher.

  2. Download the file for your version

    In the version list above, pick the file deimos-26.3-neoforge-2.8.jar (98 KB) for your game version and loader.

  3. Put it in the mods folder

    The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.

  4. Launch the loader profile

    Open “Mods” in the main menu: Deimos should be in the list.

On a server

  1. A server on Fabric, Forge, NeoForge or Quilt

    The mod only works on a server with the same loader and game version, for example 26.3.

  2. File goes into the server’s mods folder

    Stop the server, put the mod file into the mods folder and start the server again.

  3. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

版本

含依赖项

Minecraft加载器文件日期操作
26.3NeoForge26.398.4 KB
26.3Forge26.398.3 KB
26.3Fabric, Quilt26.398.7 KB
26.2NeoForge26.247.8 KB
26.2Forge26.247.7 KB
26.2Fabric, Quilt26.248.8 KB
26.1.2NeoForge26.1.247.8 KB
26.1.2Forge26.1.247.7 KB

常见问题

Which Minecraft versions does Deimos work on?

There are files for 26.3, 26.2, 26.1.2, 26.1.1, 26.1. The newest is 26.3.

Does Deimos need other mods?

The author lists no required dependencies: the Fabric, Forge, NeoForge or Quilt loader is enough.

Does Deimos work on a server?

Yes. Deimos works both in singleplayer and on a server.

Where can I download Deimos safely?

On this page: the file deimos-26.3-neoforge-2.8.jar (98 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: b6e596fc3f165ae7d5fb4360fd646a2d0d119e7a.

评价

成为第一个评价 Deimos 的人

评论 0

登录后即可评论登录

相似模组

全部模组

了解更多

作者: MarsThePlanet许可证: MIT

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。