Carpet PVP

Carpet PVP

Fork of Carpet Mod that fixes PVP-related bugs with carpet fake players and adds some new commands.

by
1.2M Downloads
fabricgame-mechanicsminigameutility
Rent Server with this Mod

Screenshots

Shield knockback fixed
Bot in action

About this Mod

This mod is archived

use HeroBot for 1.21.11+


This mod was made to be used by Theobald's PVP Practice map.

This mod fixes bugs and quirks with Carpet mod's fake players to be more consistent with real players, and adds extra commands for controlling players through a datapack.

Updated for 1.4: Do not reference this for 1.2

Differences from Carpet Mod
Fixes
  • Fixed gliding to work with /player jump while in midair

  • Fixed fall distance not updating correctly (fixes crit and mace behavior)

  • Fixed downward motion not being saved in some cases

  • Fixed /player look yaw/pitch being reversed

  • Fixed multiple edge cases related to fake player movement and actions

Fake Player Changes
  • Added a toggle to allow/disallow shield stunning for players

  • Added target selector support to player commands

  • Renamed /player <name> spawn to /playerspawn <name>

    • now it is /playerspawn <name> [at <coords> [in <gamemode> [on <world>]]]
  • Added look mode options to /player <target> look upon <entity> [eyes|feet|closest]

    • eyes - looks at the entity’s eyes (default)

    • feet - looks at the entity’s feet

    • closest - looks at the closest point of the entity’s hitbox

  • Added itemCd command for item cooldown control

    • itemCd - resets all item cooldowns [returns how many items were reset]

    • itemCd <item> - shows how many ticks left on the item's cooldown, says ready if no cooldown [returns how many ticks left]

    • itemCd <item> reset - resets cooldown [returns how many players were targeted]

    • itemCd <item> set - applies the default item cooldown without using it [returns how many players were targeted]. If there is no default item cooldown, will not do anything [for example cobblestone]

    • itemCd <item> set <ticks> - applies a custom total cooldown duration without using it [returns how many players were targeted]

  • Added swing animation command for fake players

    • Swings a hand without performing an action

    • Resets attack cooldown

    • No parameters stop any ongoing swinging

  • Changed /player use (no parameters) to stop using without triggering another use

    • Previously behaved the same as /player use once
Distance Command Changes
  • Changed /distance to store spherical distance values into scoreboards

  • Added e argument to /distance for higher scale

    • for example: /distance from HerobaneNair to TheobaldTheBot e 4 while we're 4 blocks away will return 4000 to be stored in a scoreboard as needed
  • Added support for measuring distance between two entities

  • Added horizontal and vertical distance measurement:

    • /distance from <from> to <to> horizontal|vertical

    • Allows measuring horizontal or vertical distance between entities or positions

Carpet Rule Changes
  • Added carpet rule for shield stunning

  • Added carpet rule for editable player NBT

    • /carpet editablePlayerNbt
  • Added carpet rule to disable fire from anchors and beds

    • /carpet explosionNoFire
  • Changed explosion block damage rule behavior:

    • false - vanilla behavior

    • most - affects non-solid blocks except glowstone and redstone-redirecting blocks (buttons, levers, etc.)

    • true - prevents all block damage

Available Versions

Carpet PVP 1.2.0release
MC 1.21.4fabric
May 16, 2025
Carpet PVP 1.2.0release
MC 1.21, 1.21.1fabric
May 16, 2025

How to Install Carpet PVP on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Carpet PVP". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.5, 1.21.4, 1.21.1 (+1 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Carpet PVP server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.5). You can switch loaders with one click in the panel.

Is Carpet PVP compatible with fabric?

Carpet PVP officially supports fabric for Minecraft 1.21.5, 1.21.4, 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Carpet PVP – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Carpet PVP consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Carpet PVP with just one click on your server.

Recommended RAM
4 GBfrom €5.2/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.51.21.41.21.11.21