Language

EntityDB

EntityDB

Modrinth

Store arbitrary NBT data for any entity

13 downloads updated 2mo ago
latest v1.0 Modrinth
Datapack 1.20.2 – 26.1.2 LibraryUtility

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

Versions

Release
1.0
datapack · 1.20.2, 23w40a, 23w41a · 2mo ago
Initial release
13

Comments 0

No comments yet. Be the first to share your thoughts.

Download EntityDB

Files are served directly from the original source. Modgrid does not host or modify them.