- Fakeplayer no longer disconnects on death, instead respawns where it was originally spawned, making bot death way less annoying to deal with in a datapack
- Added
/player disconnect
subcommand for the fakeplayer - Added Carpet setting for toggling shield stunning! usage:
/carpet shieldStunning <true/false>
- Fixed knockback issues (mainly with knockback enchanted swords during fire ticks)
- Added a poor man's
@s
target selector to the/player
command. By using/execute as ... run player s ...
, fake players are now able to target themselves with commands. This removes the need to hard code bot names in datapacks, and allows for controlling multiple players with a single/execute
command
Included fixes for Carpet fake players:
- Fixed reach values for creative and survival fake players
- Attacking always swings and resets cooldown regardless of target
- Fixed buggy shield behavior and KB
- Using items like consumables, bows, shields, etc. now slows down the bot the proper amount
- Crouching no longer stops sprinting
- Starting a continuous action no longer stops any previous continuous actions of the same type
- Added
stopm
player subcommand to stop player movement without affecting continuous actions, allowing full control of movement while using items