diff --git a/docs/scarpet/api/Entities.md b/docs/scarpet/api/Entities.md index af0dbc52..044e1837 100644 --- a/docs/scarpet/api/Entities.md +++ b/docs/scarpet/api/Entities.md @@ -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. diff --git a/docs/scarpet/language/Operators.md b/docs/scarpet/language/Operators.md index cc5b8d0a..c0e8dd5a 100644 --- a/docs/scarpet/language/Operators.md +++ b/docs/scarpet/language/Operators.md @@ -110,7 +110,7 @@ Or an example to find if a player has specific enchantment on a held axe (either
 global_get_enchantment(p, ench) -> (
-$   for(['main','offhand'],
+$   for(['mainhand','offhand'],
 $      holds = query(p, 'holds', _);
 $      if( holds,
 $         [what, count, nbt] = holds;