Skip to content

Sword Blocking Datapack

By thedemontuanOwner

Bring back 1.8 sword blocking: hold right-click with any sword to block and take half damage, in the real 1.8 guard pose. Old-combat feel with shield rules for survival. No resource pack.

<1,000 downloads Updated
26.3 26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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

  1. Download the ZIP. Don't extract it.
  2. Drop it into world/datapacks and run /reload.
  3. Take a sword in your main hand and leave your off hand empty.
  4. 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

  1. 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.
  2. Hold right-click. The sword comes up right away, with no delay like a shield has.
  3. 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/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.

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.

How to install: Video tutorial · Written guide