Parry
Return of Classic Mechanics
The Parry mod for Fabric revives the forgotten sword parrying mechanic that was available in Minecraft versions before 1.9. Now you can once again use your sword for defense against attacks!
How Parrying Works
To perform a parry, simply hold down the right mouse button while holding a sword. When successfully blocking an attack, you will only receive 50% of the original damage. This value can be changed in the configuration file.
Flexible Configuration
All mod parameters are configured through the ".minecraft/config/parry.json" file. Here's an example configuration:
{
"default_multiplier": 0.6,
"consume_animation": false,
"prioritize_shield": true,
"overrides": [
{
"item": "minecraft:iron_sword",
"multiplier": 2.5
},
{
"item": "minecraft:gold_sword",
"multiplier": 10.0
}
]
}
In this example, the damage multiplier is set to 0.6 (60% of received damage), with special settings for iron and gold swords. The iron sword allows dealing 250% damage when parrying, while the gold sword allows a whopping 1000%!
Configuration Features
By default, the damage multiplier is set to 0.5, the parrying animation is enabled, and shields do not have priority. You can configure shield priority - if this option is enabled, when a shield is present in the off-hand, it will be used instead of sword parrying.
Compatibility with Other Mods
All swords automatically gain the ability to parry when this mod is installed. To add special animation to sword models from other mods, you need to create a separate model with the parent "item/handheld_parry" and add the corresponding override to the main model file.