📖 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
anduse_cooldown
components are added to it.- The
use_cooldown
component 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 "СвинСоюз". Сейчас мы не имеем к нему никакого отношения.
Links
Details
Licensed Apache-2.0
Published a month ago
Updated a month ago