promotional bannermobile promotional banner

Auto Melee

Hold attack with a melee weapon to keep swinging or attacking.

A client-sided mod that lets players hold the attack button with a melee weapon and keeps attacking whatever mob you're aiming at. It swings each time the attack cooldown is full.

Made mainly for RLCraft Dregora's latest beta at the time of writing (v1.2.0-beta-2.0) to balance the nunchaku nerf by providing all weapon types to have the same auto-swing capability. It also doubles as an accessibility mod for those that need it.

Despite its origin, this mod is usable in any Forge 1.12.2 installation of Minecraft, so go nuts; you do not have to ask permission to use it in a modpack.

What counts as a melee weapon

  • Swords and axes, including modded ones built on them.
  • BetterSurvival's dagger, hammer and battle axe.

BetterSurvival's spear and nunchaku are left out intentionally. The spear was a design choice due to its more ranged-leaning usage, and the nunchaku already has its own hold-to-attack.

Both hands

  • Main hand: follows the attack button.
  • Off-hand: with RLCombat installed, follows the use button, for any item RLCombat allows in the off-hand.

No change to damage

Every hit waits for a full cooldown, the same as a perfectly timed click, so your damage per second stays the same. You just don't have to time the clicks yourself.

Works with (all optional)

  • RLCombat: attacks go through its main-hand and off-hand attacks. Without it, the vanilla attack is used.
  • ReachFix: targeting follows its reach.
  • BetterSurvival: dagger, hammer and battle axe count as melee weapons.
  • Ice and Fire: dragons can be hit through their parts.

Setup

Drop the jar in mods/. There's no config, keybind or HUD. It runs on the client only. Servers don't need it.

Fair play

This automates attacking on your client. Some multiplayer servers ban that, so check a server's rules before using it there.

Source and license

Source and issues: https://github.com/Dino-Yoshi/automelee

Licensed under the GNU LGPL, version 3 or later.

Auto Melee Team

profile avatar
  • 1
    Followers
  • 4
    Projects
  • 700
    Downloads

More from Dino_Yoshi