Carpet mace fix banner
Carpet mace fix icon

Carpet mace fix

this Fabric mod called carpetmacefix for Minecraft 1.21.11. The game crashes on launch due to a Mixin InvalidInjectionException. Crash cause: The mixin...

1640
fabricBoth1.21.11mod

Carpet Mace Fix

Overview

This mod fixes a compatibility issue between the Carpet mod and Minecraft's Mace weapon. When using Carpet's fake player features, the Mace wasn't dealing the correct amount of damage due to fall distance calculations not working properly for fake players.

Features

  • Fixes Mace damage calculation for Carpet mod fake players
  • Automatically estimates fall distance based on velocity when the player is falling
  • Works seamlessly in the background - no commands needed

How to Use

  1. Install the mod alongside Carpet mod
  2. The fix works automatically when fake players use the Mace
  3. Fake players will now deal the correct smash attack damage based on their fall velocity

Tips & Tricks

  • This mod is especially useful for testing farms or PvP scenarios with Carpet's /player command
  • The fix applies to any player entity with downward velocity greater than -0.1 blocks/tick
  • Maximum estimated fall distance is capped at 3 blocks for balance

Known Limitations

  • The mod requires Carpet mod to be installed to see the full benefits
  • Only affects Mace item damage calculations; other weapons are unaffected