Update Auxiliary.md
This commit is contained in:
1 parent
3522f39f35
commit
b456d4be50
1 file changed
+1
-1
@@ -271,7 +271,7 @@ Example usages:
|
|||||||
### `item_display_name(item)`
|
### `item_display_name(item)`
|
||||||
Returns the name of the item as a Text Value. `item` should be a list of `[item_name, count, nbt]`, or just an item name.
|
Returns the name of the item as a Text Value. `item` should be a list of `[item_name, count, nbt]`, or just an item name.
|
||||||
|
|
||||||
Please note that it is a translated value, and the result of it converting to a string will using your servers language, but when you use print() to broadcast it to players, it will use each player's own language.
|
Please note that it is a translated value. treating it like a string (eg.slicing, breaking, changing its case) will turn it back into a normal string without translatable properties. just like a colorful formatted text loose its color. And the result of it converting to a string will use en-us (in a server) or your single player's language, but when you use print() or others functions that accept a text value to broadcast it to players, it will use each player's own language.
|
||||||
|
|
||||||
If the item is renamed, it will also be reflected in the results.
|
If the item is renamed, it will also be reflected in the results.
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user