Merge pull request #659 from BisUmTo/patch-2

Missing 'invulnerable' entity modifier in the Docs
This commit is contained in:
gnembon authored and GitHub committed 2021-01-06 23:43:33 -04:00
commit 50294ac003
1 file changed
+8
+8
View File
@@ -246,6 +246,10 @@ Boolean, true if the entity is silent.
Boolean, true if the entity is affected by gravity, like most entities are. 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')` ### `query(e, 'immune_to_fire')`
Boolean, true if the entity is 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. Toggles gravity for the entity.
### `modify(e, 'invulnerable', boolean)`
Toggles invulnerability for the entity.
### `modify(e, 'fire', ticks)` ### `modify(e, 'fire', ticks)`
Will set entity on fire for `ticks` ticks. Set to 0 to extinguish. Will set entity on fire for `ticks` ticks. Set to 0 to extinguish.