promotional bannermobile promotional banner

TheDragonLib

A library for most of sokratis12GR's Mods
affiliate banner image

TheDragonLib is a library mod providing essential utilities and shared functionality for sokratis12GR's mods — most notably a flexible config/rule API for building in-game config screens.

Instead of hand-rolling GUI code and string parsing, mods declare a RuleType schema (fields like item, block, entity, biome, attribute, number, toggle, choice, or custom pickers) and get, for free:

  • Ready-made, polished list/edit screens (RuleListScreen/RuleEditScreen) with validation, error highlighting, tooltips, reset-to-defaults, and a Save/Discard prompt for unsaved changes
  • Copy and paste between lists (including lines copied straight from the .toml file), automatic conversion between a mod's rule lists, and grouping of related lines into a single row
  • Pluggable line formats (RuleFormat) — the built-in pipe-delimited syntax, or your own key=value / legacy layout
  • Registry-backed suggestion pickers for vanilla registries (items, blocks, entities, biomes, attributes), with tag and whole-mod selectors, extra data after an id (item components, entity NBT), plus bulk "add from search" pickers
  • One-line wiring into NeoForge's config screen and ModConfigSpec boilerplate (ConfigScreenHelper, ConfigHelper)

TheDragonLib Team

profile avatar
  • 20
    Followers
  • 8
    Projects
  • 23.7M
    Downloads
Donate

More from sokratis12GRView all

  • ArmorPlus project image

    ArmorPlus

    ArmorPlus adds new armor sets, tools, weapons, building blocks, and progression content to enhance your Minecraft adventures.

    • 11.1M
    • November 15, 2026
  • Mob Settings project image

    Mob Settings

    Configure drops, natural spawns, attributes, experience, despawn ranges and spawn light levels for vanilla and modded mobs, with an in-game config editor.

    • 173.4K
    • November 13, 2026
  • Sword Displays project image

    Sword Displays

    A mod that allows you to display your weapons

    • 2.1M
    • November 10, 2026
  • Exchangers project image

    Exchangers

    Block Exchangers inspired by EnderTech Exchangers, made for MC 1.10 and above!

    • 42.9M
    • October 9, 2023
  • ArmorPlus project image

    ArmorPlus

    ArmorPlus adds new armor sets, tools, weapons, building blocks, and progression content to enhance your Minecraft adventures.

    • 11.1M
    • November 15, 2026
  • Mob Settings project image

    Mob Settings

    Configure drops, natural spawns, attributes, experience, despawn ranges and spawn light levels for vanilla and modded mobs, with an in-game config editor.

    • 173.4K
    • November 13, 2026
  • Sword Displays project image

    Sword Displays

    A mod that allows you to display your weapons

    • 2.1M
    • November 10, 2026
  • Exchangers project image

    Exchangers

    Block Exchangers inspired by EnderTech Exchangers, made for MC 1.10 and above!

    • 42.9M
    • October 9, 2023