Full guide, FAQ and changelog on my website →
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.
Most pictures on this page are AI-generated illustrations of each feature; the real in-game look is different.
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: Sword Blocking for Minecraft Bedrock on CurseForge.
Quick start
- Download the ZIP. Don't extract it.
- Drop it into
world/datapacks and 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 |
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/datapacks and 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.