Adding query player language (#824)

This commit is contained in:
Ghoulboy authored and GitHub committed 2021-04-26 21:38:29 -03:00
1 parent 390c40ae74
commit 164122eba2
7 files changed
+49 -1

No files matched your search

+4
View File
@@ -422,6 +422,10 @@ Numbers related to player's xp. `xp` is the overall xp player has, `xp_level` is
Number indicating remaining entity health, or `null` if not applicable.
### `query(e, 'language')`
Returns `null` for any non-player entity, if not returns the player's language as a string.
### `query(e, 'holds', slot?)`
Returns triple of short name, stack count, and NBT of item held in `slot`, or `null` if nothing or not applicable. Available options for `slot` are: