Minor Docs update (#1214)
This commit is contained in:
1 parent
caafaa2039
commit
eed64f224e
2 files changed
+11
-5
No files matched your search
@@ -202,13 +202,19 @@ List of entities riding the entity.
|
||||
|
||||
Entity that `e` rides.
|
||||
|
||||
### `query(e, 'scoreboard_tags')` and
|
||||
### `query(e, 'tags')`(deprecated)
|
||||
### `(deprecated) query(e, 'tags')`
|
||||
|
||||
Deprecated by `query(e, 'scoreboard_tags')`
|
||||
|
||||
### `query(e, 'scoreboard_tags')`
|
||||
|
||||
List of entity's scoreboard tags.
|
||||
|
||||
### `query(e, 'has_scoreboard_tag',tag)` and
|
||||
### `query(e, 'has_tag',tag)`(deprecated)
|
||||
### `(deprecated) query(e, 'has_tag',tag)`
|
||||
|
||||
Deprecated by `query(e, 'has_scoreboard_tag',tag)`
|
||||
|
||||
### `query(e, 'has_scoreboard_tag',tag)`
|
||||
|
||||
Boolean, true if the entity is marked with a `tag` scoreboad tag.
|
||||
|
||||
|
||||
@@ -110,7 +110,7 @@ Or an example to find if a player has specific enchantment on a held axe (either
|
||||
|
||||
<pre>
|
||||
global_get_enchantment(p, ench) -> (
|
||||
$ for(['main','offhand'],
|
||||
$ for(['mainhand','offhand'],
|
||||
$ holds = query(p, 'holds', _);
|
||||
$ if( holds,
|
||||
$ [what, count, nbt] = holds;
|
||||
|
||||
Reference in new issue
Block a user