Skip to content

Commit 1416751

Browse files
committed
feat: document shadow color (#191)
1 parent 2b468de commit 1416751

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

source/minimessage/format.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,29 @@ Examples
8282
.. image:: /minimessage/images/color_verbose_2.png
8383
:alt: The result of parsing ``<color:#FF5555>This is a <color:#55FF55>test!``, shown in-game in the Minecraft client's chat window
8484

85+
Shadow Color
86+
************
87+
88+
Color the shadow of the next parts
89+
90+
Tag
91+
:mm:`<shadow:_colorNameOrHex_>`, or :mm:`<!shadow>` as an alias to disable the shadow (equalivent to :mm:`<shadow:#00000000>`)
92+
Arguments
93+
* ``_colorNameOrHex_``, any Minecraft color constant or hex color. Shadows support alpha values, with the format ``#RRGGBBAA``.
94+
Examples
95+
* :mm:`<shadow:yellow>Hello <shadow:aqua>World</shadow>!`
96+
* :mm:`<shadow:#FF5555>This is a <shadow:#55FF55>test!`
97+
* :mm:`<shadow:#000000FF><b>Thicc`
98+
99+
.. image:: /minimessage/images/shadow_1.png
100+
:alt: The result of parsing ``<shadow:yellow>Hello <shadow:aqua>World</shadow>!``, shown in-game in the Minecraft client's chat window
101+
102+
.. image:: /minimessage/images/shadow_2.png
103+
:alt: The result of parsing ``<shadow:#FF5555>This is a <shadow:#55FF55>test!``, shown in-game in the Minecraft client's chat window
104+
105+
.. image:: /minimessage/images/shadow_3.png
106+
:alt: The result of parsing ``<shadow:#000000FF><b>Thicc``, shown in-game in the Minecraft client's chat window
107+
85108
Decoration
86109
***********
87110

2.99 KB
Loading
3.02 KB
Loading
1.27 KB
Loading

0 commit comments

Comments
 (0)