promotional bannermobile promotional banner

Carpet PVP (UNOFFICIAL)

Unofficial 1.20.1 Fabric backport of Carpet PVP fake-player combat and movement fixes.

Unofficial Fabric 1.20.1 backport of selected fake-player PvP fixes from TheobaldTheBird’s Carpet PVP 1.2.0 for Minecraft 1.21/1.21.1. This community backport is independent and is not affiliated with or endorsed by the original maintainers.

How this differs

The original Carpet PVP 1.2.0 targets Minecraft 1.21 and 1.21.1. This project adapts its selected fake-player fixes to Fabric Carpet 1.4.112 for Minecraft 1.20.1, preserving Carpet’s commands, rules, and Scarpet features. It does not include the later Carpet PVP 1.4.0 changes for Minecraft 1.21.5; it is a version backport, not an upstream release.

Features

  • Fake players use separate reach limits for blocks and entities.
  • Attacks swing and reset the attack cooldown even when they miss.
  • Knockback-enchanted attacks skip the extra attacker knockback when the primary target is still in its hurt-resistance window.
  • Fake players use the expected shield sounds, stats, and damage trigger without unwanted knockback.
  • Using items such as bows, shields, and consumables slows fake players appropriately.
  • Fake players can sneak and sprint at the same time.
  • Starting another continuous action of the same type does not stop the action already running.
  • Fake players return to their original spawn position after death.
  • The player disconnect command disconnects a fake player, and player s targets the command executor for use with execute as.
  • The shieldStunning Carpet rule lets a follow-up hit land immediately after an attacker disables a shield.

This JAR uses mod ID carpet and replaces ordinary Fabric Carpet. Do not install it alongside another Carpet JAR.

Testing and known limits

On 2026-11-16, the exact uploaded JAR (SHA-256 DEE8E3B94C1D5A10B0C1F6B704446B5D2811FC569F88FD8DC69C7E75795FE220) was loaded in an isolated Minecraft 1.20.1 dedicated server with Fabric Loader 0.16.14 and Java 21. Carpet PVP loaded, two Carpet fake players spawned, and a diamond-sword attack lowered the target’s health from 20.0 to 16.166666. The server saved all three dimensions and stopped cleanly. A one-time Can't keep up warning occurred during initial world generation.

This smoke test confirms server startup and one fake-player attack path. It does not verify client rendering, every mod feature, the exact knockback-suppression result, or shield-stun timing. No full client test has been run.

Minecraft 1.20.1 does not have the upstream LivingEntity.getKnockback hook. The backport applies its hurt-resistance check at the corresponding Player.attack knockback call after the target processes damage. This skips only the extra attacker knockback for the primary target; Minecraft’s damage knockback and the separate sweep-target path remain unchanged. The dedicated-server test did not measure knockback displacement, so this specific adaptation remains unverified in-game.

Source, credits, and license

Original fake-player PvP fixes: Carpet PVP by TheobaldTheBird, licensed under MIT.

Base mod and Minecraft 1.20.1 source: Fabric Carpet 1.4.112 by gnembon and contributors, licensed under MIT.

Backport source, issue tracker, license, and third-party notices: JustHari01/Carpet-PVP-1.20.1-Fabric-Backport. The source repository retains the upstream MIT license and includes links and attribution for both original projects.

The original Carpet and Carpet PVP authors are credited above. AI tools assisted with adapting the listed Carpet PVP behavior to the 1.20.1 source.

Carpet PVP (UNOFFICIAL) Team

profile avatar
  • 23
    Followers
  • 93
    Projects
  • 462.3K
    Downloads

Make something good for your server and for me too

More from Hari_PorterView all