← Назад к ресурсам

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.

Modrinth library management utility

Описание

# 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 ```java DuchLogger.ModLogger logger = DuchLogger.createLogger("modid", "ModName"); DuchAPI.registerMod( "modid", "ModName", "1.0.0" ); ``` If your mod uses DuchEssentials, add it as a dependency: ```json "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.