Skip to content
MDS API

Quick rating

Community listing page, reviews may not be monitored by the author.

MDS API

No reviews yet

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

Mod Loaders
Minecraft
26.3 26.2

About

Description

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