Just Parry 是一个模组,它将之前属于“Movement Arrows”模组的格挡机制作为独立模组添加进来。
该模组旨在尽可能提供高度的可配置性,如果你需要特定的选项,欢迎在评论区向我提出!
你也可以通过属性系统,仅赋予特定玩家格挡能力(并可对其进行修改),具体操作如下:
将 just_parry:enableparry 属性设置为 1 将使玩家能够使用该能力,设置为 0 则使其无法使用。更改配置文件中的“enable parry”选项只会改变默认的属性值。这适用于所有属性,因此例如:如果你在“重力格挡”为开启的状态下加入世界,随后将配置改为关闭,你仍然可以进行重力格挡,因为你的属性值仍为 1;而在“重力格挡”为关闭状态下加入世界的玩家,其属性将被设置为 0。将某个属性设置为 -1 然后重新加入游戏,会自动将其设置为配置文件中对应的值。
你也可以针对特定物品执行相同的操作,命令为 /justparryitemregistry,具体用法如下:
在聊天栏输入 /justparryitemregistry,后跟(受影响的物品)名称,接着是布尔值表示是否允许格挡、格挡击退力度(数字)、格挡伤害(数字)、布尔值表示是否能格挡自身投射物、布尔值表示是否能格挡敌方投射物、被格挡投射物的重定向速度倍数(数字)、被格挡投射物的不精确度(数字,0 表示 100% 精准,100 表示 100% 不精准)、格挡伤害吸收百分比(数字)、格挡窗口时间(以刻为单位,数字)以及格挡冷却时间(以刻为单位,数字)。
仅当在 justparry 配置文件夹下的 justparry item properties 中设置 “enable item propreties” = true 时,模组才会考虑这些属性。
如果你想修改“无物品”(即拳头)的属性/数值,你需要使用命令 /justparryitemregistry just_parry:justparryiteminhand。
所有这些属性都存储在 justparry 配置文件夹中的 itempropreties.txt 文件里。
在游戏中修改属性会对整个服务器产生即时效果。
如果你希望添加其他任何属性,请在评论区告诉我。
以下是本模组添加的最重要功能的快速展示,所有功能均可通过一个按键完成,默认绑定为 G 键。
格挡

按下 G 键会播放第一人称和第三人称动画,并开启一个持续 13 刻的格挡“窗口”。如果在这 60 刻内有任何东西击中你,你将不会受到伤害。所有内容均可配置。格挡还具有基于所受伤害类型的自定义交互效果,例如格挡坠落伤害会让角色进行翻滚。
投射物格挡

当空中存在投射物、物理实体或鲑鱼且距离玩家 3 格半径内时,按下 G 键会将威胁弹开,并以原速度的 1.5 倍沿玩家面朝方向发射出去。
此功能还可用于让你的投射物移动得更快、飞得更远,所有这些特性均可配置。
Just parry is a mod that adds the parry mechanic that was previously part of the mod ''movement arrows'' as a standalone mod,
The mod is supposed to be as configurable as possible so if you need a specific option feel free to ask me for it in the comments! you can also give the ability to parry (and modify it) only for certain players using attributes, here's how that works:
setting the ''just_parry:enableparry'' attribute to 1 will make the player able to use the ability, setting it to 0 will make them unable to use it, changing ''enable parry'' in the config will only change the default attribute value, this applies to every attribute, so for example if you join a world while enable gravity parry is true and then change the config to false you will still be able to gravity parry because your attribute is still 1, players that join while gravity parry is set to false will have their attribute set to 0, setting an attribute to -1 and then rejoining will automatically set it to the value of the config.
you can do the same thing with specific items by doing /justparryitemregistry, heres how it works:
type in chat /justparryitemregistry then (affected item) followed with weather it can parry or not (boolean) then parryknockback (number) parrydamage (number) weather it can parry it's own projectiles (boolean) weather it can parry enemy projectiles (boolean) parried projectiles redirection speed multiplier (number) inaccuracy of parried projectiles (number, 0 means its 100% accurate 100 means its 100% inaccurate), parrydamage abosrption % (number) parrywindow (in ticks, number) and parrycooldown (in ticks, number) the mod will only consider these propreties if "enable item propreties" = true in justparry item propreties (under the justparry config folder) if you want to change the propreties/stats of nothing (your fists) you'll need to do /justparryitemregistry just_parry:justparryiteminhand, all of these propreties are stored in itempropreties.txt in the justparry config folder modifyng propreties in-game has an instantaneus effect on the entire server if you have any additional propreties you'd like to see added please tell me in the comments
Here's a quick showcase of the most important things this mod adds, everything can be done with 1 keybind, set by default to G
Parry

Pressing G will play a first person and third person animation and open a 13 ticks parry ''window'' if anything hits you in those 60 ticks you will take no damage, Everything is configurable, Parryng also has custom interactions based on what type of damage you parry, for example parryng fall damage will make your character roll
Projectile Parry

Pressing G while an airborne Projectile, Physic Object or Salmon is in a 3 blocks radius from the player will deflect the threat launching it at X1.5 its original speed in the direction the player is looking at
this can also be used to make your own projectile move faster and go further, all of these things are configurable
下载 just parry
下载 just parry
下载 just parry
下载 just parry
下载 just parry
下载 just parry
下载 just parry
下载 just parry
下载 just parry
下载 just parry
修复了一个导致在弹开大量模组投射物时出现崩溃的 bug。
感谢 thatkeyguy 和 altay_tm 在 Discord 服务器上报错并提供详细的错误分析。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧