▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Mobbility [Addon: Combat Roll]
Mobbility [Addon: Combat Roll]

Mobbility [Addon: Combat Roll]

Gives mobs player dodging abilities for Combat Roll - dodge attacks with roll animations just like players.

254
2

Showcase

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 applies
  • UseItemCallback.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 applies
  • ArrowLooseEvent - Detects player bow shots with charge calculation
  • LivingEntityUseItemEvent.Finish - Detects crossbow/trident usage
  • MobbilityEvents.SPELL_CAST_START - Detects spell casts targeting the mob

Dodge Process:

  1. Event fires when mob is targeted by attack/spell
  2. System checks: dodge chance, cooldown, humanoid model, casting state
  3. If conditions met: triggers Combat Roll animation, cancels damage/spell cast
  4. 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

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Клиент и сервер

Создатели

Детали

Лицензия:MIT
Опубликован:3 недели назад
Обновлён:3 недели назад
Главная