Description
Leklai
A barebone RPG framework mod for Minecraft Fabric 1.21.1 1.21.11 that rips out vanilla damage and rebuilds it from scratch. Ragnarok Online meets Black Desert — stat allocation, class evolution, skill chaining, and a full elemental damage pipeline. No fluff, just systems.
This is a mod release. Only the Novice class and Basic Skill are implemented. Everything else is scaffolding stuff are create via datapacks and the API.
What This Mod Does?
Replaces Vanilla Damage Entirely
The entire damage calculation is change, the armor are little more weak before ~80% at full diamond after 50% reduction
RPG Systems
Stats (Ragnarok Online Style)
Six stats: STR, AGI, VIT, INT, DEX, LUK
Levels
Two-tier leveling:
- Base Level (1–99): Earns stat points for character growth
- Class Level (1–50, varies): Earns class points for skill learning
XP curves are fully configurable in server config. Death penalty (10% XP loss by default) is toggleable and customable percentage.
Classes (Datapack-Driven)
Tier system: Novice → 1st Class → 2nd Class → Transcendent
- Evolution: Novice evolves at class level 10 with maxed Basic Skill. Higher tiers evolve at level 45 with all class points spent.
- Transcendence: Resets class level to 1, wipes stats, grants 4× starting stat points. You lose everything but come back stronger.
- All class data lives in datapacks — tiers, branches, attribute modifiers, growth factors, job bonuses, resource pools.
Currently implemented: Novice only. The framework is here, the content is on you.
Skills (Black Desert Style)
Three skill types:
- Castable: Press-to-cast with windup → active → recovery phases
- Holdable: Charge-and-release with hold animations and forced release timeout
- Passive: it do nothing just flag for apply attribute modifiers
Skill chaining: Recovery windows allow chaining into the next skill's active phase, skipping windup. Build combos.
Skills have prerequisites, resource costs, cooldowns, damage profiles (element + combat type), and bind to 8 hotkey slots.
(Novice passive — unlocks party features and class evolution). other mod are adding the skill via coding
Party System
Up to 4 players (configurable). Create, invite, kick, transfer leadership. Health and resource bars sync to all members every second. Requires Basic Skill level 5+ to join, 7+ to create, and it have distance penalty if player are far away it less exp gain.
Resource System
Per-class resource pool (SP/MP equivalent). Base 10 + class growth scaling. Regenerates on a timer — faster when sitting, passive regen when idle. Skills consume resources.
Vanilla Changes
| Changed | Detail |
|---|---|
| Damage calculation | Completely replaced with 8-stage pipeline |
| Armor toughness | Removed |
| Food healing | Disabled by default |
| Enchantments | Still work, applied after custom pipeline |
| Environment damage | Rebalanced (rain/thunder penalties) |
| Entity collision | Toggleable |
Configuration
Server config (leklai_server.json5) controls:
- Max level, starting stat points, XP curves
- Max party size, max stat value
- Death penalty toggle and percentage
- Skill unlearning toggle
- Food healing, collision, environment damage rebalance
Client config (leklai_client.json5) controls:
- AAll UI stuff
- The damage indicator YACL config screen included via ModMenu.
PlateauLib (Internal lib) and Cardinal Components API are bundled — no separate install needed. since I'm currently maintain one mod I don't think it need to separate plateaulib since it just simple attributes registry stuff and the ui rework from the penomior.






