From d853ec69e6f807a386ebb5a00a1ff46498dd3044 Mon Sep 17 00:00:00 2001 From: BisUmTo <31419791+BisUmTo@users.noreply.github.com> Date: Tue, 5 Jan 2021 19:21:59 +0100 Subject: [PATCH] Missing 'invulnerable' entity modifier in the Docs --- docs/scarpet/api/Entities.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/scarpet/api/Entities.md b/docs/scarpet/api/Entities.md index 7f03f748..bbd2872e 100644 --- a/docs/scarpet/api/Entities.md +++ b/docs/scarpet/api/Entities.md @@ -246,6 +246,10 @@ Boolean, true if the entity is silent. Boolean, true if the entity is affected by gravity, like most entities are. +### `query(e, 'invulnerable')` + +Boolean, true if the entity is invulnerable. + ### `query(e, 'immune_to_fire')` Boolean, true if the entity is immune to fire. @@ -726,6 +730,10 @@ Silences or unsilences the entity. Toggles gravity for the entity. +### `modify(e, 'invulnerable', boolean)` + +Toggles invulnerability for the entity. + ### `modify(e, 'fire', ticks)` Will set entity on fire for `ticks` ticks. Set to 0 to extinguish.