Blocking Overhaul
Overhauls blocking attacks by adding a parry mechanic and changing several mechanics to be entity attribute - driven.
介绍
Blocking Overhaul
Overhauls blocking attacks by adding a parry mechanic and changing several mechanics to be entity attribute – driven.
When blocking is started just before a hit, the attack is parried. The length (in ticks) of that time window is determined by the “blockingoverhaul:parry_window” entity attribute.
Changes to knockback on blocking/parrying
Blocking/parrying an attack no longer applies a hardcoded amount of knockback to the attacker.
Instead, the knockback is more dynamic, where knockback amount and affected entity (attacker or defender) are determined by several factors.
- “blockingoverhaul:block_force” entity attribute of the defender
- “blockingoverhaul:parry_multiplier” entity attribute of the defender. This multiplier can be disabled by the server config and/or the item used for blocking.
- “minecraft:attack_knockback” entity attribute of the defender
- an “additional_attack_knockback”, which is 0 by default. Other mods that use Blocking Overhaul (like Overhauled Damage) can use this value to modify the calculation
- a “total_applied_blocking_knockback_multiplier”, which is a server config option
((defender_block_force * defender_parry_multiplier) – (attacker_attack_knockback + additional_attack_knockback)) * total_applied_blocking_knockback_multiplier
If the result of the calculation is negative, the knockback is applied to the defender. If it’s positive, the knockback is applied to the attacker.
Changes to blocked damage amount
Parrying can also apply the multiplier determined by the “blockingoverhaul:parry_multiplier” entity attribute to the amount of blocked damage. This can be disabled by the server config and/or the item used for blocking.
Technical details
This data component needs to be present on an item stack for parrying to work.
Parrying has several conditions:
- the item used for blocking has to have the “blockingoverhaul:parries_attacks” data component
- there is currently no easy way to apply this component to existing items (like the vanilla shield) by default
- using third-party mods like “Default Components” is recommended
- the entity (type) that tries to parry has to be in the “blockingoverhaul:can_parry” entity type tag
Stamina Attributes integration
Blocking Overhaul has integration for Stamina Attributes, parrying an attack has a different stamina cost than regular blocking, determined by the “blockingoverhaul:parry_stamina_cost” entity attribute.
常见问题
Blocking Overhaul 支持哪些 Minecraft 版本?
Blocking Overhaul 支持 Minecraft Java 版 1.21.11–26.1.2,共 4 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Blocking Overhaul 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
TheRedBrain 的其他作品
查看全部 →Shield API
制作带有自定义模型的盾牌,从未如此简单!
Bundle API
Bundle API 让模组作者可以轻松添加容量超过一组物品的收纳袋,袋中可存放由物品标签指定的物品。
Better Combat Extension
为“Better Combat”模组添加更多功能。
Slot Customization API
一个小型前置库,让模组能够动态调整物品栏槽位的位置,并启用或禁用槽位。
评论
登录后评论和评分