Mobbility [Addon: Combat Roll] 图标

Mobbility [Addon: Combat Roll]

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mobbility-addon-combat-roll
资源信息

Minecraft 版本: 1.20.1

平台: forge

标签: mobs

资源介绍

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 ```toml [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
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
A7MD's 3D Books

价格:0 墨喵币
下载量:0

查看详情
VulkanLight

价格:0 墨喵币
下载量:0

查看详情
Rubies by Mr.Koteyka

价格:0 墨喵币
下载量:0

查看详情
controller compatibility

价格:0 墨喵币
下载量:0

查看详情