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
How to Install Better Mob Combat Fix [BMCFIX] (Mod)
Better Mob Combat Fix [BMCFIX] by UtherHel is verified for Fabric, Forge across Minecraft versions 1.20.1 (latest release: 1.0.2, file size: 8 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1) and platform (Fabric, Forge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge.
- Move the downloaded Better Mob Combat Fix [BMCFIX] file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Added Architectury API to META-INF dependencies
- Fixed fabric.mod.json mod IDs to match mods.toml format
- Added Architectury API to META-INF dependencies
- Second mixin to fix Pehkui integration
BMCPehkuiHelperMixinoverwritesBMCPehkuiHelper.load()method
### Fixed
NoClassDefFoundError: net/bettercombat/compatibility/PehkuiHelperwhen Pehkui mod is installed- Pehkui scale integration now works correctly with Better Combat 1.9.0
### Technical
- Uses
@Overwritemixin forBMCPehkuiHelper.load()method - Replaces entire method to use
net.bettercombat.client.compat.PehkuiHelperinstead of old package - MixinPlugin now conditionally applies both mixins