Auto Attack by John Adept
Dreaming of having your mob farm running on its own while you grab a snack or attend to other activities? Auto Attack fully automates the combat process - now available for Fabric and NeoForge with convenient in-game configuration menu (starting from version 3.0.0).
Key Advantages
- Client-side mod - functions in multiplayer and local network modes
- Continues running even when the game is minimized
- Smart attack timing optimization for maximum damage output
- Rotation mode for hitting targets in a wide area
- Weapon durability protection with customizable thresholds
- Flexible configuration through in-game menu (requires Cloth Config API; Fabric also needs Mod Menu) or JSON file editing

Automatic attack detects mobs within reach and in crosshair line for autonomous elimination.

Rotation mode provides area scanning with adjustable viewing angle (default 30°), after which the aim returns to its original position. Customizable rotation speed, scanning angle and auto-alignment features make this mode ideal for hitting multiple targets across a wide sector.
Configuration Parameters (from version 3.0.0)
Basic Settings
- Mod activation - main toggle for Auto Attack functionality
- Attack peaceful mobs - allows attacking neutral creatures (villagers, sheep)
- Tamed mob protection - prevents attacks on your pets
- Attack non-living objects - allows attacking armor stands, minecarts and similar objects
- Disable on low durability - stops attacks when weapon is worn out
- Durability threshold - wear value at which automatic attacks cease
Rotation Mode Settings
- Rotation angle - left-right turn range in degrees from 0° to 180°
- Rotation speed - camera movement speed (setting from 0 to 20)
- Auto-align yaw - automatic direction orientation toward cardinal points before rotation starts
- Auto-align offset - additional offset angle for custom orientation
Additional Options
- Message display mode - method for status notifications output: chat or action bar
- Attack whitelist - entity identifiers that will always be attacked
- Attack blacklist - entity identifiers whose attacks are blocked
Important Notes
⚠ Important:
To comply with mod distribution platform rules, this modification does not allow automatic attacks on other players.
Be careful when using in multiplayer mode - server administrators may consider this as cheating!