diff --git a/source/minimessage/format.rst b/source/minimessage/format.rst index 1d67b0b..7193d33 100644 --- a/source/minimessage/format.rst +++ b/source/minimessage/format.rst @@ -82,6 +82,33 @@ 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:``, for hex color + * :mm:``, for named colors with optional alpha + * :mm:`` as an alias to disable the shadow (equalivent to :mm:``) +Arguments + * ``_hex_``, a hex color string with the format ``#RRGGBB`` or ``#RRGGBBAA``. + * ``_color_``, any minecraft named color constant + * ``[alpha_as_float]``, a float value between 0 and 1, representing the alpha value of the shadow. Optional, defaults to 0.25. +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