Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Supported environments
Creators
Details
Licensed MIT
Published 22 hours ago
Updated 2 days ago

Features
- Player-Like Dodging: Mobs dodge attacks with roll animations, just like players
- Automatic Ability: All mobs gain dodge capability on spawn
- Combat Roll Integration: Uses Combat Roll mod mechanics
- Configurable: Dodge chance, ranged/melee dodge, spell cast interruption
How It Works
Event-based dodge detection system (no AI goals):
Fabric Events:
ServerLivingEntityEvents.ALLOW_DAMAGE- Detects melee and projectile hits before damage appliesUseItemCallback.EVENT- Detects ranged weapon usage (bow, crossbow, trident)MobbilityEvents.SPELL_CAST_START- Detects spell casts targeting the mob
Forge Events:
LivingAttackEvent- Detects melee and projectile hits before damage appliesArrowLooseEvent- Detects player bow shots with charge calculationLivingEntityUseItemEvent.Finish- Detects crossbow/trident usageMobbilityEvents.SPELL_CAST_START- Detects spell casts targeting the mob
Dodge Process:
- Event fires when mob is targeted by attack/spell
- System checks: dodge chance, cooldown, humanoid model, casting state
- If conditions met: triggers Combat Roll animation, cancels damage/spell cast
- Dodge strategy adapts to mob health (aggressive/balanced/defensive)
Configuration
Fully customizable via config/mobbility/combat_roll.toml:
Dodge Settings
[combatRoll]
enabled = true
mobRollChance = 0.3
dodgeRangedAttacks = true
dodgeMeleeAttacks = true
cancelCastOnDodge = true
allowDodgeDuringChanneling = false
Requirements
- Minecraft: 1.20.1
- Fabric Loader: 0.15.11+ (Fabric version) OR Forge: 1.20.1-47.4.10+ (Forge version)
- Mobbility [Core]: Required core mod (matching platform)
- Combat Roll: The combat mod this addon integrates with
- Fzzy Config: For configuration
![Mobbility [Addon: Combat Roll]](https://cdn.modrinth.com/data/JKye4yiT/ab72a9ada8c44262e1156138c0b0957bb1a451da_96.webp)

