-
Bug
-
Resolution: Works As Intended
-
None
-
1.18.1, 1.18.2 Release Candidate 1, 1.18.2
-
None
-
Community Consensus
-
(Unassigned)
The Bug:
The "@" symbol used for the default names of command blocks is untranslatable and is missing a translation key.
This is a problem because every other string throughout the game that contains a singular symbol such as ";" and "=", is translatable, therefore introducing an inconsistency.
Steps to Reproduce:
- Attempt to search for the existence of this string by using this search filter on the official Minecraft crowdin project.
- Take note as to whether or not the default symbol used for the names of command blocks is untranslatable.
Observed Behavior:
The default symbol used for the names of command blocks is untranslatable.
Expected Behavior:
The default symbol used for the names of command blocks would be translatable.
Code Analysis:
Code analysis by Avoma can be found below.
The following is based on a decompiled version of Minecraft 1.18.1 using MCP-Reborn.
public abstract class BaseCommandBlock implements CommandSource { ... private static final Component DEFAULT_NAME = new TextComponent("@"); ...
If we look at the above class, we can see that the default symbol used for the names of command blocks is hardcoded, and as a result, is untranslatable. This is evident through the following piece of code:
new TextComponent("@")