Warhammer is a unique weapon that is used similarly to a bow, despite being a melee weapon. You pull it with the right mouse button, and release it to deal a blow. The damage and knockback are calculated based on the amount of time you pulled it, up to a maximum. It is most useful against melee mobs, as it has a natural knockback component. There are Stone, Iron, Gold, Diamond and Netherite Warhammers. Gold has higher knockback than Diamond since it is very heavy.
The warhammer also has a nice, thick 3D model so that you don’t forget it is in fact a meaty hammer and not a measly axe.
There are many enchantments that can be applied on the Warhammer. These are:
Heavyweight: Increases the maximum pull time, but also adds more damage and knockback.
Legerity: The opposite of Heavyweight, lets you pull the hammer faster while having the same power. These two enchantments cannot be applied on the same item.
Maim: Cripples your opponent on hit, applying a Slow effect on them. Especially useful when your knocked back opponent is trying to run away!
Uppercut: Adds a “knock up” component to the Warhammer. A way to use fall damage to your advantage or an unorthodox method of vertical transportation.
Quake: Allows you to target the ground. When you hit the ground, all enemies around the target point are damaged according to their proximity and knocked back from that point. Also makes you feel powerful with the strong thud and the nifty particles!
In addition to the special enchantments, Warhammer can be enchanted with Smite, Bane of Arthropods and Looting, as well as Unbreakable and Mending.