Merge branch 'master' into 1.17

This commit is contained in:
gnembon committed 2021-04-13 01:23:22 -03:00
commit 3d4fa6ae89
4 files changed
+78

No files matched your search

+6
View File
@@ -519,6 +519,12 @@ Regardless of the options selected, the result could be:
- block value if block is in reach, or
- a coordinate triple if `'exact'` option was used and hit was successful.
### `query(e, 'attribute')` `query(e, 'attribute', name)`
returns the value of an attribute of the living entity. If the name is not provided,
returns a map of all attributes and values of this entity. If an attribute doesn't apply to the entity,
or the entity is not a living entity, `null` is returned.
### `query(e, 'brain', memory)`
Retrieves brain memory for entity. Possible memory units highly depend on the game version. Brain is availalble