MaceBot
A datapack derived from Master_Gumbo videos
MaceBot
This datapack is derivated from this video. I simply recreated the bot to be used as a datapack in other worlds.
Installation
Simply place the datapack in your world's `datapacks` folder and reload with `/reload`. The datapack will automatically initialize.
Commands
Summon the Bot
```mcfunction /function macebot:action/summon ``` Spawns a MaceBot at your location.
Get Utility Book
```mcfunction /function macebot:give_book ``` Gives you an interactive book with clickable commands for controlling the bot and various utilities.
Configuration Commands (Triggers)
All players have access to these trigger commands. Enable triggers with `/scoreboard players enable @a <trigger_name>` if needed.
AI Control
```mcfunction /trigger useAI set 1 ``` Enables the bot's AI.
```mcfunction /trigger useAI set 0 ``` Disables the bot's AI.
Shield Usage
```mcfunction /trigger useShield set 1 ``` Enables the bot to use a shield.
```mcfunction /trigger useShield set 0 ``` Disables the bot's shield.
Movement Mode
```mcfunction /trigger movementMode ``` Cycles through movement modes: - A Lot - Bot doesn't move - A Lot - Bot moves minimally - A Lot - Bot moves frequently
Knockback Mode
```mcfunction /trigger knockbackMode ``` Cycles through knockback resistance modes: - High - Low knockback resistance - High - Normal knockback resistance - High - High knockback resistance
Wind Charges Mode
```mcfunction /trigger windChargesMode ``` Cycles through wind charge usage modes: - A Lot - No wind charges - A Lot - Occasional wind charges - A Lot - Frequent wind charges
Reaction Mode
```mcfunction /trigger reactionMode ``` Cycles through reaction speed modes: - Slow - Instant reactions - Slow - Normal reaction speed - Slow - Slower reactions
Other Commands
Kill the Bot
```mcfunction /kill @e[tag=macebot,limit=1] ``` Removes the MaceBot from the world.
Uninstall
```mcfunction /function macebot:uninstall ``` Uninstalls the datapack (Note: Currently doesn't perform any cleanup).
Tips
- Use the utility book (`/function macebot:give_book`) for easy access to all commands with clickable buttons - Adjust the bot's difficulty by combining different modes (e.g., high knockback + instant reactions = harder) - The bot displays health above its head for easy tracking during combat