added entity API pose and fixed #180

This commit is contained in:
gnembon committed 2020-03-22 23:33:19 -03:00
1 parent 57d841ab10
commit 9da1f087fd
4 files changed
+107 -30

No files matched your search

+11
View File
@@ -218,6 +218,17 @@ Returns mob's attack target or null if none or not applicable.
Returns creature's home position or null if none or not applicable.
### `query(e, 'pose')`
Returns a pose of an entity, one of the following options
* `'standing'`
* `'fall_flying'`
* `'sleeping'`
* `'swimming'`
* `'spin_attack'`
* `'crouching'`
* `'dying'`
### `query(e,'sneaking')`
Boolean, true if entity is sneaking.