
DatapacksJava
Blocking With Sword
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.


📖 About
With this datapack, any sword can be used as a shield, but will only block half the damage.
Features:
- When a player takes a sword into his hand, the
blocks_attacksanduse_cooldowncomponents are added to it.- The
use_cooldowncomponent is needed for the general delay group for all swords separately from shields;
- The
- The sword blocks half of the damage;
- After disabling blocking with an axe, the player cannot use the sword as a shield or as a weapon at all;
- If the player has a shield in either hand, blocking with sword is disabled.
🔗 Extra Links
You can leave a comment on the PMC page!
Russian discord server of datapackers / Русский дискорд сервер датапакеров
Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки! Это сервер-ответвление от изначального заброшенного сервера ZeroCaty "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.9, 1.21.10, 1.21.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
Verified by MCModsHub
- Downloads as Blocking-With-Sword_v1-0-1_26-2.zip
- Download size: 28 KB
- Download link checked 29 Aug 2026 — working
These come from our own check of the pack file, not from the source page.

