
DeltaFight
deltarune battle system, from the game deltarune. a turn based system when you encounter (a mob hits you) activates the battle
00—neoforgeServer1.21.1mod
DeltaFight is a server-only NeoForge 1.21.1 mod that brings a Deltarune-inspired, turn-based battle loop to vanilla clients. When a mob lands a hit on a player, the attack is halted and both are pulled into a text-driven encounter managed entirely server-side.
- Core flow: battles start on the first mob hit; the foe is frozen while the player takes turns with
/battleactions (fight,defend,spare,flee,status). Normal combat damage is cancelled during an active battle. - Actions:
fightdeals calculated damage,defendhalves the next incoming strike,sparesucceeds when the foe is weakened,fleehas a strong success chance, andstatusreports health for both sides. - Enemy turn: if the fight continues, the mob delivers a simulated attack; outcomes and health updates are announced via chat.
- Cleanup: battles end on victory, successful spare/flee, player death, logout, or dimension changes. Enemy AI is restored with a brief weakness/slowness window to reduce immediate re-aggro.
- Compatibility: no custom registries or client assets are used, so vanilla clients can connect; only one player can contest a given mob at a time.
Known limitations and future ideas: expand to multi-mob encounters, add party/ally actions, richer enemy intent previews, or configurable damage/escape thresholds to better mirror Deltarune pacing.