From d92b412c0a0188f0c61f94593dd26311e26e4148 Mon Sep 17 00:00:00 2001 From: altrisi Date: Wed, 30 Jun 2021 17:30:55 +0200 Subject: [PATCH] Document `entities` argument type (#968) --- docs/scarpet/api/Overview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/scarpet/api/Overview.md b/docs/scarpet/api/Overview.md index e4979462..ea8dc9bd 100644 --- a/docs/scarpet/api/Overview.md +++ b/docs/scarpet/api/Overview.md @@ -314,6 +314,7 @@ Here is a list of built-in types, with their return value formats, as well as a * `'dimension'`: string representing a valid dimension in the world. * `'anchor'`: string of `feet` or `eyes`. * `'entitytype'`: string representing a type of entity + * `'entities'`: entity selector, returns a list of entities directly. Can be configured with `'single'` to only accept a single entity (will return the entity instead of a singleton) and with `'players'` to only accept players. * `'floatrange'`: pair of two numbers where one is smaller than the other * `'players'`: returning a list of valid player name string, logged in or not. If configured with `'single'` returns only one player or `null`. * `'intrange'`: same as `'floatrange'`, but requiring integers.