PVP Bot banner
PVP Bot icon

PVP Bot

Create a mod with /pvpbot [difficulty = easy, medium, hard] command that spawns a armorstand w/ full armor holding a diamond sword that runs at and attacks...

00
fabricBoth1.21.1mod

PVP Bot adds a /pvpbot [difficulty] command (easy/medium/hard, default easy) that spawns a diamond-clad armor stand with a sword and targets the invoking player until it dies or the player leaves/spectates.

  • The bot sprints toward the player and deals melee damage tuned per difficulty (speed and attack cooldown increase with difficulty).
  • Bots are removed automatically when killed or when their target is gone or in another dimension.
  • A configurable spawn message is read from config/pvpbot.properties (spawn_message, supports {difficulty} placeholder for display).
  • Mod id: pvpbot; works in both client and server environments for Minecraft 1.21.1.

Known notes: Movement uses direct velocity steering rather than vanilla pathfinding, so terrain obstacles are not navigated intelligently. Armor may drop on death since drop rates are not suppressed.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.