EntityDB
Store arbitrary NBT data for any entity
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
EntityDB
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 ```