All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Better Mob Combat Fix [BMCFIX]

Better Mob Combat Fix [BMCFIX]

by UtherHel • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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:

  1. Removed CompatibilityFlags.firstPersonRender() method
  2. Moved PehkuiHelper from net.bettercombat.compatibility to net.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:

  • @Redirect on Mob.playAttackAnimation() → returns false for removed method
  • @Overwrite on BMCPehkuiHelper.load() → uses net.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:

  1. Click the Download button above and select your Minecraft version (1.20.1) and platform (Fabric, Forge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge.
  3. Move the downloaded Better Mob Combat Fix [BMCFIX] file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.1
Fabric
8mo ago 1
1.20.1
Forge
8mo ago 1
1.20.1
Forge
8mo ago 1
1.20.1
Forge
8mo ago 1
### Changed
  • Added Architectury API to META-INF dependencies
  • Fixed fabric.mod.json mod IDs to match mods.toml format
### Changed
  • Added Architectury API to META-INF dependencies
### Added
  • Second mixin to fix Pehkui integration
  • BMCPehkuiHelperMixin overwrites BMCPehkuiHelper.load() method

### Fixed
  • NoClassDefFoundError: net/bettercombat/compatibility/PehkuiHelper when Pehkui mod is installed
  • Pehkui scale integration now works correctly with Better Combat 1.9.0

### Technical
  • Uses @Overwrite mixin for BMCPehkuiHelper.load() method
  • Replaces entire method to use net.bettercombat.client.compat.PehkuiHelper instead of old package
  • MixinPlugin now conditionally applies both mixins
Better Mob Combat Fix [BMCFIX] Icon
Download Better Mob Combat Fix [BMCFIX]
Select game version
Select platform