跳到正文

Mobbility [Addon: Combat Roll]

作者:UtherHel

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

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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

常见问题

Mobbility [Addon: Combat Roll] 支持哪些 Minecraft 版本?

Mobbility [Addon: Combat Roll] 支持 Minecraft Java 版 1.20.1,可用的加载器:Fabric / Forge。下载时注意选择和你游戏版本一致的文件。

Mobbility [Addon: Combat Roll] 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

UtherHel 的其他作品

查看全部 →