Duchessentials
A lightweight library mod providing essential utilities and APIs for Minecraft mod development. Includes logging system, string/math/collection helpers, and mod registration API.
介绍
DuchEssentials
DuchEssentials is a small utility library made mainly for my Minecraft mods and plugins, but it can also be used by other developers.
It contains a few common systems and helpers that I kept rewriting between projects, so I decided to put them into one library instead.
What’s included?
- DuchLogger – simple logging system for mods
- DuchAPI – basic API for registering mods
- Utilities – various helpers for strings, math and collections
The library doesn’t add any gameplay content by itself. It’s just a dependency that other projects can use.
Example
DuchLogger.ModLogger logger =
DuchLogger.createLogger("modid", "ModName");
DuchAPI.registerMod(
"modid",
"ModName",
"1.0.0"
);
If your mod uses DuchEssentials, add it as a dependency:
"duchessentials": ">=1.0.0"
That’s pretty much it. The goal is just to keep commonly used code in one place instead of copying the same utilities into every project.
常见问题
Duchessentials 支持哪些 Minecraft 版本?
Duchessentials 支持 Minecraft Java 版 1.21–26.2,共 9 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Duchessentials 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
Duuchniuk 的其他作品
查看全部 →
Duch Cart Fix
A client-side Fabric mod that automatically switches to a minecart after placing a rail (with offhand support), and offers a one-click mode that places both rail and cart in a single act
Duch-orbitalstrike-cannon
Plugin/mod inspired by cubicmetere. Adds orbital cannon rods, timed strike commands, stab shafts, wolf support, and stasis jumps for Paper servers
WindCharge Reset
WindCharge Reset is a Minemen-inspired Paper plugin that lets falling players use Wind Charges to reset their downward momentum and stop mid-air.
WindCharge Reset
WindCharge Reset is a Minemen-inspired Paper plugin that lets falling players use Wind Charges to reset their downward momentum and stop mid-air.
评论
登录后评论和评分