跳到正文

Corebound Respawn Buff

作者:Cababs

when a player respawn give several effects for 10 seconds

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

CoreBound Buffs on Death

Gives the player respawn buffs/protection for 10 seconds

execute as @a[scores={justDied=1}] unless entity @s[nbt={Health:0.0f}] run effect give @s minecraft:resistance 10 1
execute as @a[scores={justDied=1}] unless entity @s[nbt={Health:0.0f}] run effect give @s minecraft:strength 10 1
execute as @a[scores={justDied=1}] unless entity @s[nbt={Health:0.0f}] run effect give @s minecraft:regeneration 10 1
execute as @a[scores={justDied=1}] unless entity @s[nbt={Health:0.0f}] run effect give @s minecraft:fire_resistance 10 1
execute as @a[scores={justDied=1}] unless entity @s[nbt={Health:0.0f}] run effect give @s minecraft:invisibility 10 1
execute as @a[scores={justDied=1}] unless entity @s[nbt={Health:0.0f}] run effect give @s minecraft:absorption 10 1

Development Notes

Some ideas and programming assistance were generated with the help of AI tools (ChatGPT) for briainstorming and function logic. All code was tested, intergrated and reviewed manually.

Resources

https://vanillatweaks.net/

https://www.gamergeeks.net/apps/minecraft

https://misode.github.io/

https://chatgpt.com/

常见问题

Corebound Respawn Buff 支持哪些 Minecraft 版本?

Corebound Respawn Buff 支持 Minecraft Java 版 1.21–1.21.10,共 11 个版本。下载时注意选择和你游戏版本一致的文件。

Corebound Respawn Buff 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Cababs 的其他作品

查看全部 →