Skip to content

Allows players to block their sword to reduce taken damage, just like in older Minecraft versions

License

Notifications You must be signed in to change notification settings

Player005/VanillaSwordBlocking

Repository files navigation

Vanilla Sword Blocking

This is a very simple plugin that brings back the old sword blocking mechanichs, allowing You to block with your sword to reduce taken damage by 50%.
The best part about it: It's server-only, so Players don't even need to install a mod on their client for this - just add the plugin to the server and it works for everyone!

An image showing a Netherite sword being blocked, like in 1.8

Important

While this mod can be installed on any server version 1.21.2 and later, the blocking will only be displayed correctly by clients in version 24w44a (1.21.4) and later.

How it works

Essentialy, this plugin uses the recently added component called "consumable", to make Minecraft think you can eat swords!

This is used to enable an animation called "block", so it looks like you're blocking.

Then, the plugin prevents you from actually eating your sword, and instead reduces damage when it detects you are blocking ("eating", from minecraft's perspective) your sword.

About

Allows players to block their sword to reduce taken damage, just like in older Minecraft versions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages