跳到正文

Attribute Modify Library

作者:KingIwrs

allows you to easily add or remove from an attributes base value

收藏

介绍

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

run the /function attribute:uninstall to remove the scoreboards and storage data.

add value

/function attribute:modify {attribute:"generic.max_health",value:10}

remove value

/function attribute:modify {attribute:"generic.max_health",value:-10}

works with all attributes(haven’t tested them all, but it should)

works up to the 6th decimal

/function attribute:modify {attribute:"generic.movement_speed",value:0.000055}

常见问题

Attribute Modify Library 支持哪些 Minecraft 版本?

Attribute Modify Library 支持 Minecraft Java 版 1.20.2–1.20.6,共 5 个版本。下载时注意选择和你游戏版本一致的文件。

Attribute Modify Library 怎么安装?

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

评论

登录后评论和评分

KingIwrs 的其他作品

查看全部 →