You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user/quicktext.md
+40-1Lines changed: 40 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,8 @@ Hover tag allows adding simple hover on text. It can be used to display addition
116
116
117
117
This tag allows you to change font to any build in one or one provided by resource pack.
118
118
119
-
You can use it by simply adding `#!xml <font '[VALUE]'>`, where `'[VALUE]'` is just a font name.
119
+
-`#!xml <font '[VALUE]'>` - Sets font within tagwhere (`'[VALUE]'` is just a font name).
120
+
120
121
Minecraft has 3 build-in fonts `default`, `uniform` and `alt`.
121
122
122
123
### Inserting
@@ -155,13 +156,50 @@ This tag allows you to add information about player control keys, with respectin
155
156
156
157
You can use it with `#!xml <keybind '[VALUE]'>` or `#!xml <keybind value:'[VALUE]'>`, where `'[VALUE]'` is a control key used.
157
158
159
+
### Atlas (2.8.0+1.21.9+)
160
+
161
+
!!! question inline end "Atlas"
162
+
163
+
You can read more about atlases on the [Minecraft Wiki](https://minecraft.wiki/w/Atlas)
164
+
165
+
!!! note inline end
166
+
167
+
This tag is self containing, so it doesn't contain a closing tag.
168
+
169
+
This tag allows you to display a texture from select atlas. If not set correctly, it will show missing
170
+
texture.
171
+
172
+
-`#!xml <atlas '[ATLAS ID]' '[TEXTURE ID]'>` - Quick format of atlas tag.
173
+
-`#!xml <atlas atlas:'[ATLAS ID]' texture:'[TEXTURE ID]'>` - Full format of atlas tag.
174
+
175
+
Where `'[ATLAS ID]'` is a atlas identifier used and `'[TEXURE ID]'` is a texture within that atlas.
176
+
177
+
### Player (2.8.0+1.21.9+)
178
+
!!! note inline end
179
+
180
+
This tag is self containing, so it doesn't contain a closing tag.
181
+
182
+
This tag allows you to display a player head. If not set correctly, it will show one of default textures.
183
+
184
+
-`#!xml <atlas '[NAME / UUID]'>` - Shorthand format for showing player head.
185
+
-`#!xml <atlas name:'[NAME]' hat:[BOOLEAN]>` - Show player head by name (and toggle hat).
186
+
-`#!xml <atlas uuid:'[NAME]' hat:[BOOLEAN]>` - Show player head by uuid (and toggle hat).
187
+
-`#!xml <atlas texture:'[TEXTURE VALUE]' hat:[BOOLEAN]>` - Show player head by raw remote texture value (and toggle hat).
188
+
189
+
Where `'[NAME]'` is player name,
190
+
`'[UUID]'` is player uuid, `'[TEXTURE VALUE]'` is skin texture value (not resource pack one!)
191
+
and `[BOOLEAN]` is true or false.
192
+
193
+
194
+
158
195
### Gradients
159
196
160
197
This tag allows you to add gradients to the text. However, it has multiple limitation that can
161
198
block its usage. Currently, you can't use dynamic values (translations, control keys, placeholders, etc)
162
199
within them, as they require static text.
163
200
164
201
There 2 types of gradients:
202
+
165
203
-`#!xml <gradient (type:[type]) [color 1] [color 2] ...>`/`#!xml <gr (type:[type]) [color 1] [color 2] ...>` - I can take multiple colors to move between them
166
204
smoothly. You can replace the optional `(type:[type])` with `type:oklab` (default), `type:hvs` or `type:hard` to change how thge gradient is handled
167
205
-`#!xml <hard_gradient [color 1] [color 2] ...>`/`#!xml <hgr [color 1] [color 2] ...>` - I can take multiple colors to move between them
@@ -181,6 +219,7 @@ works with placeholders, which gives a bit more flexibility.
181
219
This tag can work without arguments making it clear all formatting or with them limiting clearing to selected types.
182
220
183
221
Examples:
222
+
184
223
-`#!xml <clear>` - Removes all formatting, leaving only text.
185
224
-`#!xml <clear hover>` - Removes all hovers.
186
225
-`#!xml <clear hover color>` - Removes all hovers and colors.
0 commit comments