Compatibility
Minecraft: Java Edition
1.20.1
Platforms
Supported environments
Creators
Details
Licensed MIT
Published yesterday
Updated 2 weeks ago
Better Mob Combat Fix
Fixes Better Mob Combat compatibility with Better Combat 1.9.0
The Problem
Better Combat 1.9.0 (latest for 1.20.1) made breaking changes:
- Removed
CompatibilityFlags.firstPersonRender()method - Moved
PehkuiHelperfromnet.bettercombat.compatibilitytonet.bettercombat.client.compat
Better Mob Combat stopped updating and still uses old methods/paths, breaking mob attack animations and Pehkui compatibility.
How It Works
This mod uses two mixins to fix both issues:
Mixin 1: Intercepts CompatibilityFlags.firstPersonRender() calls and returns false
Mixin 2: Overwrites BMCPehkuiHelper.load() to use the new PehkuiHelper location
Technical:
@RedirectonMob.playAttackAnimation()→ returnsfalsefor removed method@OverwriteonBMCPehkuiHelper.load()→ usesnet.bettercombat.client.compat.PehkuiHelper
![Better Mob Combat Fix [BMCFIX]](https://cdn.modrinth.com/data/5kLNgKXJ/c0e27abd1e3a2fb4d3e7dabb987f4007cf759d47_96.webp)

