Parry It 数据包
弹开投射物、苦力怕和伤害!
简介
此数据包引入了新型盾牌,允许玩家弹开投射物、苦力怕以及受到的伤害。
安装
使用方法
-
如果没有配方,请使用 /reload 命令获取
-
合成盾牌

弹开机制
伤害弹开
投射物弹开
共有 3 种类型的投射物,每种在弹开后都有不同的效果:
-
可吸收型(旋风球和凋零骷髅头):给予玩家力量和速度效果,并使发射投射物的生物/玩家获得缓慢效果
-
可反弹型(箭矢、三叉戟和可投掷药水):改变投射物的方向,并使发射投射物的生物/玩家获得缓慢效果
-
可停止型(火球):使投射物在空中停止(并可再次击打),并使发射投射物的生物/玩家获得缓慢效果
苦力怕弹开
- 当处于正在锁定你的苦力怕 3 格半径范围内时,在其爆炸前约 5 刻(0.25 秒)使用盾牌,将立即对苦力怕造成 1000 点伤害
管理员命令
配置

/function parry_it:_sudo/reset 将配置重置为默认值
配置对话框中有 4 种可修改的值类型:
注意:所有值均以刻为单位:20 刻 => 1 秒
-
弹开窗口(默认 7 刻):这是从尝试弹开到失败之间的时间间隔,数值越低要求玩家的操作越精准
-
成功弹开后的冷却时间(默认 2 刻):成功弹开后的冷却时间数值,数值越低允许玩家在弹开前更频繁地使用
-
失败弹开后的冷却时间(默认 40 刻):失败弹开后的冷却时间数值以及负面效果的持续时间,数值越高对玩家的惩罚越大
-
弹开苦力怕的最小引信时间(默认 25 刻):成功弹开苦力怕所需的苦力怕引信时间,数值越低允许更早地弹开苦力怕且风险更小
强烈建议在服务器中使用更高的弹开窗口和更低的苦力怕最小引信时间,因为延迟可能导致此数据包表现不稳定
视频
简短展示:
多人游戏
该功能仍在开发中。你可以弹开其他玩家的攻击,被弹开的玩家将收到负面效果。然而,目前仍存在一些 bug,因此不要期望它能稳定运行。
兼容性
此数据包已在 Minecraft +1.21.8 版本上经过测试
Parry It Datapack
Parry projectiles, creepers and damage!
Introduction
This datapack features a new type of shield that allows the player to parry projectiles, creepers and damage.
Installation
- Place the .zip in your world's datapacks folder
Usage
Parrying
-
Right click it while holding it with your left or right hand to perform a parry
-
By default, you have a 7 ticks (0.35 seconds) window to perform a parry, if you fail, you will be applied a negative effect and your parry cooldown is increased
-
If you perform a succesful parry, it will reset your cooldown to 2 ticks
-
Depending on what do you parry, it will give you different effects
Damage Parry
-
If you are hit while parrying, it blocks the damage and gives you strenght for a few seconds
-
The mob/player that has hit you be given a slow and nausea effect
Projectile parry
There are 3 types of projectiles, each one has a different effect when parried
-
Absorbable (Wind Charges and Wither Skulls): Gives the player strenght and speed, and gives slowness to the mob/player that shot the projectile
-
Deflectable (Arrows, tridents and throwable potions): Changes the direction of the projectile and gives slowness to the mob/player that shot the projectile
-
Stopable (Fireballs): Stops in the air the projectile (and can be punch again) and gives slowness to the mob/player that shot the projectile
Creeper Parry
- When in a 3 block radius from a creeper that is targeting you, using the shield around 5 ticks (0.25) right before it explodes, it will instantly do 1000 damage to the creeper
Admin commands
-
To give yourself a parry shield use the /function parry_it:_sudo/give_shield command
-
To change the datapack configuration use the /function parry_it:_sudo/open_config, this will open a dialog and it will print out the current configuration in the chat
Configuration

/function parry_it:_sudo/reset sets the configuration to the default values
There are 4 types of values that can be modified inside the configuration dialog
Note that all the values are in ticks: 20 ticks => 1 second
-
Parry Window (7 ticks by default): It's the time between using the parry and failing it, a lower value requires the player to use it more precisely
-
Parry Cooldown on Success (2 ticks by default): It's value of the cooldown after a successful parry, a lower value allows to use it right before a parry
-
Parry Cooldown on Fail (40 ticks by default): It's value of the cooldown after a failed parry and the duration of the negative effects, a higher value punishes more the player
-
Parry Creeper Minimum Fuse Time (25 ticks by default): It's the creeper fuse time required to parry a creeper successfully, a lower value allows to parry creeper earlier and less risky
It's highly recommended to use a higher parry window and lower creeper minimum fuse time in servers, lag can make this datapack very inconsistent
Video
A very short showcase:
Multiplayer
This feature is still a work in progress, you can parry players' attacks, and the parried player will recieve negative effects. However, there's still some bugs, so don't expect to work consistently.
Compatibility
This datapack has been tested with minecraft +1.21.8
评论 0
登录后参与评分
还没有评论,来抢沙发吧