Description
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


