From 247835386e0add8423df385d24dae1a0627b8612 Mon Sep 17 00:00:00 2001 From: ch-yx Date: Tue, 2 Aug 2022 00:16:08 +0800 Subject: [PATCH] add document for item_display_name --- docs/scarpet/api/Auxiliary.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/scarpet/api/Auxiliary.md b/docs/scarpet/api/Auxiliary.md index d5f027a0..1ad9d72f 100644 --- a/docs/scarpet/api/Auxiliary.md +++ b/docs/scarpet/api/Auxiliary.md @@ -268,6 +268,9 @@ Example usages: // not a problem in apps +### `item_display_name(item, hasbracket?)` + returns the `display_name` of the item as a Text Value. if hasbracket is true, there will be a bracket around it. + ### `display_title(players, type, text?, fadeInTicks?, stayTicks?, fadeOutTicks),` Sends the player (or players if `players` is a list) a title of a specific type, with optionally some times.