Outdated comment, unable to modify NBT (#1183)
You can now modify NBT data with `modify nbt_merge` and `modify nbt`
This commit is contained in:
1 parent
2f7433ecb1
commit
6321e1e9b6
1 file changed
+1
-3
@@ -585,9 +585,7 @@ type objects via `get, put, has, delete`, so try to use API calls first for that
|
|||||||
## Entity Modification
|
## Entity Modification
|
||||||
|
|
||||||
Like with entity querying, entity modifications happen through one function. Most position and movements modifications
|
Like with entity querying, entity modifications happen through one function. Most position and movements modifications
|
||||||
don't work currently on players as their position is controlled by clients.
|
don't work currently on players as their position is controlled by clients.
|
||||||
|
|
||||||
Currently there is no ability to modify NBT directly, but you could always use `run('data modify entity ...')`.
|
|
||||||
|
|
||||||
### `modify(e, 'remove')`
|
### `modify(e, 'remove')`
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user