A Bedrock Edition addon that adds an AI-controlled fighter capable of full PvP combat. The bot switches between sword and bow depending on distance closing to melee within 6 blocks and sniping with arrows beyond that. It blocks incoming attacks with a shield (fully negating damage on a successful block), retreats and self-heals by eating bread when its health drops low, and ignores players in Creative or Spectator mode or with tag pvpbot_ignore. The bot spawns with iron armor, a sword, a bow, arrows, and a stock of bread, and can be summoned with /summon pvpbot:fighter.
Addon does not require beta api

