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

DillonLib

API that provides platform abstraction, mixin management, configuration systems, factories, and other common modding utilities.

Modrinth library utility

Описание

[![DillonLib Logo.](https://github.com/Dillon8775/ImageGIFs/blob/universal/9i8dnw.gif?raw=true)](https://youtu.be/CurMwVkAqWo) # Base Library/API for Dillon's mods. Cross-platform API providing resuable utilities, such as platform abstraction, mixin management, configuration systems, factories, and other common modding utilities. --- ## Developer Notes Provides all information required to create a mod on multiple modding platforms (ex. Fabric, Forge and NeoForge). Provides other resources, including: - Factories, which auto-registers certain behaviors for certain types of objects - Memory-stored player data, based on UUID - Easy-to-use mixin predicates - Scheduled tasks that run within the Minecraft server tick - Simple permissions getter - Tick calculators - A clean options system - Common texts - Common client-side operations and modern-styled widget lists DillonLib does not require any other outside resources or mods, other than [Fabric API](https://modrinth.com/mod/fabric-api) for fabric users. You can view the **[source code](https://github.com/Dillon8775/Dillon-Lib)** for all features and utilities, as well as read documentation below. ### To use this library with your mod, add this to your `build.gradle` file: ``` repositories { exclusiveContent { forRepository { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } } filter { includeGroup "maven.modrinth" } } } dependencies { implementation "maven.modrinth:dillon-lib:*DL_version*" // Note: for *DL_version*, make sure you use the correct MC and platform (fabric/neoforge/forge) version. // You can get it by opening the specified version and copying the end of the modrinth link. // Example: https://modrinth.com/mod/dillon-lib/version/5voax3wu