Flexible Dodge

Flexible Dodge

Allow you dodge when you move.

10 downloads 0 followers

Flexible Dodge

A standalone dodge mod for NeoForge 1.21.1. Press a key to dash with a brief invulnerability window — the dash is built from your own momentum, so it always lasts the same moment while carrying you further the faster you were already moving. Well-timed dodges become perfect dodges: the hit is cancelled, projectiles pass through you, and that dodge costs no cooldown.

Features

  • Dodge — Left Alt (rebindable), 8-way by input direction, on the ground or in mid-air. Speed scales with your momentum and eases back to it; server-authoritative with client-side prediction.
  • Invulnerability — 0.2s by default. Environmental damage (fall, lava, drowning, cactus) is not dodgeable; everything else is.
  • Perfect dodge — a hit inside the window is cancelled, that dodge's cooldown is waived, with its own sound and a full-bar HUD flash.
  • Projectiles pass through — arrows, tridents, fireballs and the like have no hitbox against you; they fly on, do not bounce off, do not stick. Vanilla's own swept hit test is re-run to decide the perfect dodge.
  • Consecutive dodge cooldown — each dodge in a row costs a little more (none → 0.1s → 0.2s → … capped at 0.6s), measured from the end of the previous dash and reset after 2s without one. A perfect dodge only waives its own cooldown.
  • HUD — a slim translucent cooldown bar below the vanilla attack indicator, plus < > / <<< >>> dodge markers; first and third person.
  • Configurable — air dodging, momentum-preserving end and the speed multiplier can be switched or tuned in the server config; HUD and markers in the client config.

Installation

  • Minecraft 1.21.1 with NeoForge 21.1.1 or newer.
  • Install on both client and server, same mod version: the keybind, HUD and sounds are client-side, movement and damage are server-authoritative.
  • Works out of the box in singleplayer.

Known limits

  • Area effects are not passed through: a splash potion still applies, an explosion behind you can still catch you. Explosion damage inside the window is still intercepted; the potion effect is not.
  • Ender pearls pass through and no longer teleport their owner to you.
  • Your own projectiles, and ones vanilla would not let hit you (PvP off, same team), never count as perfect dodges.

For mod developers

DodgeEvent and PerfectDodgeEvent are fired on the NeoForge event bus.

License

MIT.

Version Minecraft Loader Download

Flexible Dodge 1.2.0

1.2.0

1.21.1
neoforge
Download