Auto Attack by John Adept
Have you ever wanted to be AFK at your early game Mob Grinder or other farms where you have to hit entities? Then this mod is the solution!
- Client-side mod
- Works even when Minecraft is minimized (Multiplayer/Lan only)
- Attacks are timed to maximize damage
- Rotation Mode to cover a larger hit area (since mod version 2.0.1)
- Item breaking prevention
- Adjustable keybindings to toggle Auto-Attack and Rotation Mode
- Highly customizable by using Mod Menu or by editing the JSON file
- Requires Fabric API
Auto Attack
Auto Attack simply hits mobs that are within reach and at the crosshair.
It even works while moving:
Rotation Mode
Rotation mode automatically aligns the camera to the closest direction on the yaw axis. This feature can also be disabled so that rotation mode starts from the yaw axis of the crosshair. From there it rotates the camera to the right by the set angle (default: 30°), back to the center, to the left (also by set angle) and back to the center. This process repeats. The rotation speed can also be adjusted.
Configuration options descriptions
Attack Non-Hostile Mobs
: Decides whether non-hostile mobs like villagers or sheep should be attacked by Auto AttackRotation Angle
: The angle by which the camera should rotate left and right when Rotation Mode is enabledRotation Speed
: Defines, how fast the rotation mode should rotate the cameraAuto Align Yaw
: Determines whether the yaw of the camera should be set to face to the nearest direction or not when using Rotation Mode
IMPORTANT: This mod won't attack non-hostile entities by default. However, you can change this by using the Mod Menu mod or by editing the JSON file in the config folder. To comply with Modrinth's rules regarding cheats and hacks, this mod isn't able to automatically attack players.
Be careful with using it on multiplayer as it might be considered as cheating!