diff --git a/source/minimessage/format.rst b/source/minimessage/format.rst index 1d67b0b..03a5115 100644 --- a/source/minimessage/format.rst +++ b/source/minimessage/format.rst @@ -82,6 +82,31 @@ Examples .. image:: /minimessage/images/color_verbose_2.png :alt: The result of parsing ``This is a test!``, shown in-game in the Minecraft client's chat window +Shadow Color +************ + +Color the shadow of the next parts + +Tag + * :mm:`` + * :mm:`` as an alias to disable the shadow (equalivent to :mm:``) +Arguments + * ``_colorNameOrHex_``, a named color or hex color string with the format ``#RRGGBB`` or ``#RRGGBBAA`` + * ``[alpha_as_float]``, a float value between 0 and 1, representing the alpha value of the shadow. Optional, defaults to 0.25. Has no effect if an alpha value is already provided in the hex color string. +Examples + * :mm:`Hello World!` + * :mm:`This is a test!` + * :mm:`Thicc` + +.. image:: /minimessage/images/shadow_1.png + :alt: The result of parsing ``Hello World!``, shown in-game in the Minecraft client's chat window + +.. image:: /minimessage/images/shadow_2.png + :alt: The result of parsing ``This is a test!``, shown in-game in the Minecraft client's chat window + +.. image:: /minimessage/images/shadow_3.png + :alt: The result of parsing ``Thicc``, shown in-game in the Minecraft client's chat window + Decoration *********** diff --git a/source/minimessage/images/shadow_1.png b/source/minimessage/images/shadow_1.png new file mode 100644 index 0000000..1cdf7d9 Binary files /dev/null and b/source/minimessage/images/shadow_1.png differ diff --git a/source/minimessage/images/shadow_2.png b/source/minimessage/images/shadow_2.png new file mode 100644 index 0000000..0314501 Binary files /dev/null and b/source/minimessage/images/shadow_2.png differ diff --git a/source/minimessage/images/shadow_3.png b/source/minimessage/images/shadow_3.png new file mode 100644 index 0000000..934358d Binary files /dev/null and b/source/minimessage/images/shadow_3.png differ