Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
Mjölnir
Minecraft Java: 26.3 · Type: Datapack · Mods needed: none · Works on servers

Mjölnir adds Thor's hammer to vanilla survival, and makes you earn it. Forge it in a thunderstorm, throw it and watch it fly back to your hand, ride the lightning across the sky and land with a shockwave.
It is a plain datapack with no mods, no client install and no commands needed to play.
Get the hammer
Pick up a Heavy Core or a Mace and a book, The Saga of Mjölnir, lands in your inventory. It walks you through the ritual:
- Get a Mace. Craft one from a Heavy Core.
- Get a Nether Star. Defeat the Wither.
- Place a Lodestone under the open sky.
- Wait for a thunderstorm, then drop the Mace and the Nether Star on the Lodestone. Lightning forges the hammer.

For testing or admins: /function mjolnir:give_mjolnir
What it does
| Ability | How | What happens |
|---|---|---|
| Throw | Hold right-click for half a second, then release | The hammer tumbles through the air, hits whatever is in its path and returns to your hand |
| Fly | Sneak, hold right-click, release | You launch where you look and take no fall damage on landing |
| Slam | Land from a flight | A mace-style smash hits everything around the landing point |
| Lightning | Hit something in a thunderstorm | A bolt strikes the target |
The hammer is unbreakable. A short chain of advancements follows the saga from the first Mace to the forged hammer.

Balanced for servers
- Cooldowns: throw 4s, lightning 3s, slam 5s. A live bar on the actionbar shows what is recharging, and a soft click plays when it is ready again.
- Weather matters: it is strongest in a thunderstorm. In clear weather cooldowns are 50% longer, there is no lightning and slams hit softer.
- Costs hunger: a throw costs about 1 food point, a flight about 4. You need at least 6 food to fly.
- PvP-friendly: thrown hits and slams are capped lower against players than against mobs.
- Vanilla-friendly: without the resource pack the hammer simply shows as a normal Mace.

Configuration
Every number can be changed in game, and settings survive /reload.
/function mjolnir:config/show
/data modify storage mjolnir:config cd_throw set value 80
/function mjolnir:config/reset
Cooldowns are in ticks (20 = 1 second). Other settings include throw damage, spin speed, thrown hammer size, flight power and slam radius.
Resource pack
The datapack works on its own. Add the optional Mjölnir resource pack for a detailed 3D hammer with a charge-up animation.
Install
- Download
Mjolnir-DP.zip. - Put it in
saves/<world>/datapacks/, or in thedatapacksfolder of your server's world. - Run
/reloador reopen the world.
Compatibility
Made for Minecraft Java 26.3. Other versions are untested.
Who is it for?
Survival servers that want a legendary reward worth a Wither fight, adventure worlds that need a signature weapon, and anyone who has ever wanted to throw a hammer and fly in vanilla Minecraft.
Enjoy the storm!


