Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
Sword Blocking
Full guide and every download (including the old 1.16 – 1.17 version) on my website →
▶ New YouTube channel: @thedemontuanmc: pack showcases and new releases
⬇ Always get the latest version and the newest updates first on thedemontuan.dev
Remember holding right-click with a sword to block, back in 1.8? Minecraft took it away in 1.9 and handed us shields instead. This pack brings it back. Hold right-click with any sword, it comes up in the old guard pose, and every hit you block does about half the damage.
It's a datapack only. No resource pack, no OptiFine, no mods. The block runs on the same game code as a shield, so it behaves like a real part of Minecraft.
Playing Bedrock? Sword Blocking also comes as a Bedrock add-on (
.mcaddon) for Bedrock 1.20.80 and newer. It's in the Bedrock add-on section of the guide on my website.
Quick start
- Download the ZIP. Don't extract it.
- Drop it into
world/datapacksand run/reload. - Take a sword in your main hand and leave your off hand empty.
- Hold right-click to block.
Need help installing? The full guide on my website has the install steps with pictures and answers to common problems.
What you get
- Any sword works. Wooden, stone, copper, iron, gold, diamond and netherite, plus swords you loot, trade for or get from other packs. Your sword keeps its name, enchantments and durability.
- The 1.8 guard pose. The sword tilts across your body in first and third person, the same pose as in 1.8. Other players see it too.
- Half damage, from any side. Zombies, players, arrows, even a hit from behind. A 10-damage hit becomes 5.5, just like the 1.8 formula.
- Feels like a block. Every block clangs and throws sparks off the blade, and you get knocked back a lot less.
How to block
- Hold a sword in your main hand. Your off hand should be empty, or hold a totem, arrows, a map, a compass or a clock.
- Hold right-click. The sword comes up right away, with no delay like a shield has.
- Let go to attack again. Like with a shield, you can't swing while blocking and you walk slower.
The first time you pick up a sword, a hint above the hotbar shows which button to hold.
A blocked hit does (damage + 1) / 2. Your armor and Protection still count on top of that.
| Hit | Not blocking | Blocking |
|---|---|---|
| 3 (zombie on Normal) | 3 | 2 |
| 6 | 6 | 3.5 |
| 10 | 10 | 5.5 |
| 20 | 20 | 10.5 |
Fire, lava, falling, drowning, suffocation and potions go straight through, the same things a shield can't stop either.
Built for survival
I wanted it to feel like part of the game, so the sword plays by the shield's rules:
- Durability: blocking a hit of 3 damage or more costs 1 durability. Unbreaking works as usual.
- Axes: an axe knocks your guard down for 5 seconds, the same as with a shield. The axe hit itself is still halved.
- Off hand: holding a shield, torch, blocks, food, a bow or fireworks turns sword blocking off, and right-click does its normal thing. Want the full shield block? Put a shield in your off hand.
- Your other swords: only the sword in your hand changes. Swords in your inventory or in chests stay normal.
- Other packs: swords that already do something on right-click are left alone.
- Mobs fight like before. Only players block.
Requirements
| Edition | Java Edition only |
| Versions | 1.21.5 to 26.4 |
| Mods | None |
| Resource pack | Not needed |
| Multiplayer | Works on servers, every player can block |
Still on 1.16 or 1.17? The old version is on the website under older releases. It works differently: you block by holding Shift, and it needs its resource pack.
Settings and removing the pack
Press Esc and open Sword Blocking:
- Blocking: On/Off turns blocking on or off for everyone.
- Uninstall turns every online player's swords back to normal and deletes the pack's scoreboards. Then delete the ZIP from
world/datapacksand run/reload.
1.21.5 has no pause menu button. Use the [On/Off] and [Uninstall] buttons in the chat message you get after /reload.
FAQ
Right-click doesn't block
Check your off hand first: it has to be empty, or hold a totem, arrows, a map, a compass or a clock. Make sure blocking is On in Esc → Sword Blocking. If an axe just hit you, wait 5 seconds.
Is it exactly like 1.8? The pose and the damage are: a block takes (damage + 1) / 2, same as 1.8. Everything else is modern Minecraft: you can't attack while blocking, the attack cooldown still applies and axes break your guard.
Is a shield better? A shield stops the whole hit, but only from the front, and it takes your off hand. A sword halves hits from every side and leaves your off hand free for a totem.
Does it work with swords from mods or other datapacks?
Yes, as long as the item is in the #minecraft:swords tag and doesn't already have its own right-click action.
More on my website
TDT Datapack is the home of every pack I make: full guides with pictures, install help, changelogs and news when a new pack or update comes out.
Want to play new datapacks, mods and add-ons early and get the newest updates for the ones you already have? Visit TDT Datapack first: new releases and updates come out there before anywhere else.
- This pack: full Sword Blocking guide, changelog and every download
- More packs:
- Saitama: One Punch Man: 8 punch modes, Genos and Lord Boros
- Mahoraga: Wheel of Adaptation: adapt to any damage after 5 turns
- Sukuna: King of Curses: Dismantle, Cleave and the Malevolent Shrine domain
- Gojo: Infinity: Infinity, Hollow Purple and the Unlimited Void domain
- Shadow Monarch: Arise: raise the mobs you kill as a shadow army
- Realistic Survival: thirst, the toilet, injuries and body temperature
- ThrowAxe: throw any axe and pick it up like a trident
- Double Jump & Ninja Moves: air jumps, wall jumps and climbing
- Never miss an update: tap the bell on the pack page to get a notification the moment a new version is out, or open "Check for updates" in the pack's in-game settings
- Community: Discord server: new releases are posted there automatically, plus help and suggestions
- Questions or bugs: contact me or leave a comment here
- Videos: @thedemontuanmc on YouTube
- Made by TheDemonTuan
How to install: Video tutorial · Written guide


