Back to mods
Carpet PVP project artwork

Modrinth · Minecraft mod

Carpet PVP

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Carpet PVP release should I use?

Updated 6 months ago
Latest stable file 1.2.0
Game version 1.21.4
Loader Fabric

Carpet PVP 1.2.0 targets 1.21.4 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Carpet PVP required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does Carpet PVP 1.2.0 need?

1.2.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Carpet PVP without breaking your instance.

Built for Carpet PVP 1.2.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.0. It targets 1.21.4 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.0. It opens that exact file at the source.

About this project

What does Carpet PVP add?

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

Project description from Modrinth.

Pick your setup

Carpet PVP by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Carpet PVP versions and loaders

5 of 5 releases match

Looking for an older file? The official Modrinth project page is in Resources.