From c8f31a3f891be7d52016ddab0c99d9e4cce89bcc Mon Sep 17 00:00:00 2001 From: Nameless-123 <53367549+Nameless-123@users.noreply.github.com> Date: Fri, 24 Apr 2020 16:35:07 +0200 Subject: [PATCH] added to docs --- docs/scarpet/Full.md | 3 +++ docs/scarpet/api/Entities.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/scarpet/Full.md b/docs/scarpet/Full.md index 45d8eb9e..68206456 100644 --- a/docs/scarpet/Full.md +++ b/docs/scarpet/Full.md @@ -2532,6 +2532,9 @@ Returns `null` if the argument is not a player, otherwise: * `shadow`: any carpet-shadowed real player * `realms`: ? +### `query(e, 'category')` +Returns a lowercase string containing the category of the entity (hostile, passive, water, ambient, misc) + ### `query(e, 'team')` Team name for entity, or `null` if no team is assigned. diff --git a/docs/scarpet/api/Entities.md b/docs/scarpet/api/Entities.md index 3bd7634f..9b808752 100644 --- a/docs/scarpet/api/Entities.md +++ b/docs/scarpet/api/Entities.md @@ -275,6 +275,9 @@ Returns `null` if the argument is not a player, otherwise: * `shadow`: any carpet-shadowed real player * `realms`: ? +### `query(e, 'category')` +Returns a lowercase string containing the category of the entity (hostile, passive, water, ambient, misc) + ### `query(e, 'team')` Team name for entity, or `null` if no team is assigned.