Library · Forge & NeoForge

TheDragonLib

The shared library behind sokratis12GR's Minecraft mods.

Download Usage Examples Source Code

For Players

TheDragonLib doesn't add any content of its own. Just install it next to any mod that needs it, using the version that matches your Minecraft version and loader.

Used by

Required

ArmorPlus

Unique armor sets, tools, abilities and progression.

Open Project →
Required

Mob Settings

Configure drops, spawns, attributes, XP and despawn ranges for any mob.

Open Project →
Required

Sword Displays

Pedestals, glass cases and wall mounts for your weapons.

Open Project →

For Developers

The main part of TheDragonLib is a config and rule API. A mod declares a RuleType schema made of fields such as item, block, entity, biome, attribute, number, toggle, choice or custom pickers. It then gets the following without writing any GUI code:

Ready-made Screens

RuleListScreen and RuleEditScreen, with validation, error highlighting, tooltips and reset-to-defaults.

Pluggable Formats

RuleFormat supports the built-in pipe-delimited syntax, or a custom key=value or legacy layout.

Registry Pickers

Suggestion pickers for items, blocks, entities, biomes and attributes, plus bulk "add from search" pickers.

Config Wiring

ConfigScreenHelper and ConfigHelper connect a mod to NeoForge's config screen and handle ModConfigSpec boilerplate in one line.

Supported Minecraft Versions

TheDragonLib is available for Forge and NeoForge, including 26.3, 26.2, 26.1.2, 1.21.1 and many older versions.

View all TheDragonLib versions on CurseForge

Project Links

Download Source Code Report an Issue