Skip to content
Blocking With Sword

Quick rating

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

Blocking With Sword

By Antoha256MOwner

No reviews yet

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

Minecraft
26.2

About

Description

📖 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_attacks and use_cooldown components are added to it.
    • The use_cooldown component is needed for the general delay group for all swords separately from shields;
    • 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!

PMC

Russian discord server of datapackers / Русский дискорд сервер датапакеров

Если вы датапакер, ищите адекватной помощи, полезных ресурсов и возможности поделиться проектами, то вам на СвинСоюз: Датапаки! Это сервер-ответвление от изначального заброшенного сервера ZeroCaty "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.

SvinSoyuz