Missing 'invulnerable' entity modifier in the Docs
This commit is contained in:
1 parent
35715c93aa
commit
d853ec69e6
1 file changed
+8
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user