added to docs

This commit is contained in:
Nameless-123 committed 2020-04-24 16:35:07 +02:00
1 parent 3790889b6d
commit c8f31a3f89
2 files changed
+6

No files matched your search

+3
View File
@@ -2532,6 +2532,9 @@ Returns `null` if the argument is not a player, otherwise:
* `shadow`: any carpet-shadowed real player * `shadow`: any carpet-shadowed real player
* `realms`: ? * `realms`: ?
### `query(e, 'category')`
Returns a lowercase string containing the category of the entity (hostile, passive, water, ambient, misc)
### `query(e, 'team')` ### `query(e, 'team')`
Team name for entity, or `null` if no team is assigned. Team name for entity, or `null` if no team is assigned.
+3
View File
@@ -275,6 +275,9 @@ Returns `null` if the argument is not a player, otherwise:
* `shadow`: any carpet-shadowed real player * `shadow`: any carpet-shadowed real player
* `realms`: ? * `realms`: ?
### `query(e, 'category')`
Returns a lowercase string containing the category of the entity (hostile, passive, water, ambient, misc)
### `query(e, 'team')` ### `query(e, 'team')`
Team name for entity, or `null` if no team is assigned. Team name for entity, or `null` if no team is assigned.