promotional bannermobile promotional banner

MDS API

A general-purpose API library for Minecraft Fabric, providing damage calculation, enchantment queries, GUI utilities, and configuration management for the Modern Damage System mod.

MDS API / Modern Damage System API

A general-purpose API library for Minecraft Fabric, designed as the development companion for the Modern Damage System main mod.


Features

Damage Calculation API

  • Get weapon base attack damage
  • Get player/entity critical rate and critical damage multipliers
  • Calculate final damage after critical hit processing
  • Access damage reduction, armor penetration, and defensive attributes

Enchantment Query API

  • Retrieve the level of any specific enchantment on an item
  • List all MDS enchantments present on an item with their levels
  • Unified query support for all MDS enchantments

GUI Utility API

  • Open custom screens with proper lifecycle management
  • Common component rendering helpers
  • Screen scaling, positioning, and layout tools

Configuration Management API

  • Read and write JSON-based configuration files
  • Register typed config options
  • Hot-reload configurations without restarting

Dependencies

  • Fabric API

Links


License

MIT License — free to use, modify, and distribute.


Author

Juzipi_AN

The MDS API Team

profile avatar
  • 2
    Projects
  • 14
    Downloads

More from JuzipiAN

  • Modern Damage System project image

    Modern Damage System

    A comprehensive combat and enchantment mod featuring 23+ custom enchantments, custom crafting station, recipe book, new potions, mob adaptation, real-time HUD, and a modern damage multiplier system.

    • 7
    • September 21, 2026
  • Modern Damage System project image

    Modern Damage System

    A comprehensive combat and enchantment mod featuring 23+ custom enchantments, custom crafting station, recipe book, new potions, mob adaptation, real-time HUD, and a modern damage multiplier system.

    • 7
    • September 21, 2026