Minecraft PE Addon · 1.21 – 1.26
Auto Attack Toggle
Type .aa in chat to toggle auto-attack on players. Hits 6×/sec when looking at a player.
Chat Toggle
Type .aa to enable or disable
6 Hits/sec
Auto-attack on view direction
Per-Player
Only the user is affected
v1.21–1.26
Bedrock Script API
Addon Files
manifest.json
Installation Guide
-
Download the files
Click "Download All Files" to get both addon files
-
Create folder structure
Create a folder: auto_attack_bp, then a subfolder: scripts
-
Place the files
Put manifest.json in auto_attack_bp/ and main.js in scripts/
-
Import into Minecraft
Copy the folder to games/com.mojang/behavior_packs/
-
Activate the addon
In world settings, go to Behavior Packs and activate it
