Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions source/minimessage/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,26 @@ Examples
.. image:: /minimessage/images/translatable_2.png
:alt: The result of parsing ``<lang:commands.drop.success.single:'<red>1':'<blue>Stone'>!``, shown in-game in the Minecraft client's chat window in English

Fallback
++++++++

.. note::

The fallback option is only available since Minecraft 1.19.4.

Allows displaying minecraft messages using the player locale, or a fallback if no text is available

Tag
:mm:`<lang_or:_key_:_fallback_:_value1_:_value2_...>`
Aliases
``tr_or``, ``translate_or``
Arguments
* ``_key_``, the translation key
* ``_fallback_``, the fallback text to display
* ``_valueX_``, optional values that are used for placeholders in the key (they will end up in the ``with`` tag in the JSON)
Examples
* :mm:`You should get a <lang_or:block.minecraft.diamond_block:'Dirt Block'>!`

Insertion
*********

Expand Down
Loading