MCStacker/tips/en/json.value.txt

11 lines
1.8 KiB
Plaintext

<b>text</b> <br>Enter text for this section. You can insert a line break in the text by entering \n . For example: Line One\nLine Two. \t can be used for a tab space. NOTE: in some contexts such as Custom Names, the new line or tab charatcters will be ignored.
<br><br>
<b>translate</b> <br>The translation identifier of text to be displayed using the player's selected language. This identifier is the same as the identifiers found in lang files from assets or resource packs.
<br><br>
<b>score</b><br>A player's score in an objective. Displays nothing if the player is not tracked in the given objective. Ignored when any of the previous fields exist in the root object.
A player name or selectors (such as @p) can be used, in addition to "fake" player names created by the scoreboard system. In addition, if the name is "*", it will show the reader's own score. The internal name of the objective to display the player's score in is set in the field below.
<br><br>
<b>selector</b><br>A string containing a selector (@p,@a,@r,@e or @s) and, optionally, selector arguments. Unlike text, the selector will be translated into the correct player/entity names. If more than one player/entity is detected by the selector, it will be displayed in a form such as 'Name1 and Name2' or 'Name1, Name2, Name3, and Name4'. Ignored when any of the previous fields exist in the root object. Clicking a player's name inserted into a /tellraw command this way will suggest a command to whisper to that player. Shift-clicking a player's name will insert that name into chat. Shift-clicking a non-player entity's name will insert its UUID into chat.
<br><br>
<b>nbt</b><br>A string indicating the NBT path used for looking up NBT values from an entity or a block entity. Ignored when any of the previous fields exist in the root object.