Blocking With Sword

Blocking With Sword

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

1 861 downloads 11 followers

πŸ“– 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

Version Minecraft Loader Download

Support for 26.2

1.0.1+mod

1.21.10, 1.21.11, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
fabric, neoforge, quilt
Download

Support for 26.2

1.0.1

1.21.10, 1.21.11, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2
datapack
Download

Supports up to 1.21.11

1.0.1+mod

1.21.10, 1.21.11, 1.21.9
fabric, neoforge, quilt
Download

Supports up to 1.21.11

1.0.1

1.21.10, 1.21.11, 1.21.9
datapack
Download

Fix for 1.21.5

1.0.1

1.21.5, 1.21.6, 1.21.7, 1.21.8
datapack
Download

First!

1.0.0+mod

1.21.5, 1.21.6, 1.21.7, 1.21.8
fabric, neoforge, quilt
Download

First!

1.0.0

1.21.5, 1.21.6, 1.21.7, 1.21.8
datapack
Download