Перейти к содержимому
Mineforgian

Better Mob Combat Fix [BMCFIX]

Fixes Better Mob Combat compatibility with Better Combat 1.9.0

Загрузки
3K
Подписчики
2
Обновлён
9 марта 2026 г.
Лицензия
MIT

Опубликован 8 марта 2026 г.

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

Центр версий

4 версий
  • Релиз8 КБ
  • Релиз8 КБ
  • Релиз8 КБ
  • Релиз7 КБ

Ченджлог

1.0.2Релиз1.20.1 · 9 марта 2026 г.

Changed

  • Added Architectury API to META-INF dependencies
  • Fixed fabric.mod.json mod IDs to match mods.toml format
1.0.2Релиз1.20.1 · 9 марта 2026 г.

Changed

  • Added Architectury API to META-INF dependencies
1.0.1Релиз1.20.1 · 9 марта 2026 г.

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

Комментарии

Загружаем…