跳到正文

EntityDB

作者:helmo2019

Store arbitrary NBT data for any entity

收藏

介绍

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

entitydb – Store arbitrary NBT data for any entity

Uninstallation

Run

function entitydb:uninstall

to clear all stored data. Then disable and delete the pack
file(s).

Usage

Open a database entry for editing:

execute as <entity> run function entitydb:open

The stored data is now available for usage
at entitydb:data open, e.g.:

data modify storage entitydb:data open merge value {text:"hello!"}

After you’re done, run

execute as <entity> run function entitydb:close

Where <entity> is the same entity that ran entitydb:open.

At most one data entry may be opened for editing at any time.

Delete an entry

This may be run regardless of whether an entry was opened for
editing or not.

execute as <entity> run function entitydb:close

常见问题

EntityDB 支持哪些 Minecraft 版本?

EntityDB 支持 Minecraft Java 版 1.20.2–26.3,共 22 个版本。下载时注意选择和你游戏版本一致的文件。

EntityDB 怎么安装?

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

评论

登录后评论和评分

helmo2019 的其他作品

查看全部 →