
Blocking With Sword
No shield at hand - no problem! You can block half the damage with any sword!
Screenshots


About this Mod
📖 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.
🔗 Links
You can leave a comment on the PMC page!
Russian discord server of datapackers / Русский дискорд сервер датапакеров
Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки!
Это сервер-ответвление от изначального заброшенного сервера ZeroCaty "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.
Available Versions
How to Install Blocking With Sword on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Blocking With Sword". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+4 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Blocking With Sword server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Blocking With Sword compatible with datapack and fabric and neoforge and quilt?
Blocking With Sword officially supports datapack, fabric, neoforge, quilt for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Blocking With Sword – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Blocking With Sword consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Blocking With Sword with just one click on your server.

