Merge branch 'master' into 1.17
This commit is contained in:
commit
95bac227a0
13 files changed
+177
-16
No files matched your search
@@ -540,3 +540,9 @@ Available options in the scarpet app space:
|
||||
|
||||
Scarpet related properties
|
||||
* `scarpet_version` - returns the version of the carpet your scarpet comes with.
|
||||
|
||||
## NBT Storage
|
||||
|
||||
### `nbt_storage()`, `nbt_storage(key)`, `nbt_storage(key, nbt)`
|
||||
Displays or modifies individual storage NBT tags. With no arguments, returns the list of current NBT storages. With specified `key`, returns the `nbt` associated with current `key`, or `null` if storage does not exist. With specified `key` and `nbt`, sets a new `nbt` value, returning previous value associated with the `key`.
|
||||
NOTE: This NBT storage is shared with all vanilla datapacks and scripts of the entire server and is persistent between restarts and reloads. You can also access this NBT storage with vanilla `/data <get|modify|merge> storage <key> ...` command.
|
||||
Reference in new issue
Block a user