Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-248838

The secret message displayed when executing "Searge" in command blocks is untranslatable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.18.1, 1.18.2 Release Candidate 1
    • None
    • Confirmed
    • (Unassigned)

      The Bug:

      The secret message "#itzlipofutzli" displayed when executing "Searge" in command blocks is untranslatable and is missing a translation key.

      This is a very trivial issue and doesn't affect regular gameplay in any shape, however, is an inconsistency nonetheless.

      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 secret message displayed when executing "Searge" in command blocks is untranslatable.

      Observed Behavior:

      The secret message displayed when executing "Searge" in command blocks is untranslatable.

      Expected Behavior:

      The secret message displayed when executing "Searge" in 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.

      net.minecraft.world.level.BaseCommandBlock.java
      public abstract class BaseCommandBlock implements CommandSource {
         ...
         public boolean performCommand(Level $l) {
            if (!$l.isClientSide && $l.getGameTime() != this.lastExecution) {
               if ("Searge".equalsIgnoreCase(this.command)) {
                  this.lastOutput = new TextComponent("#itzlipofutzli");
                  ...

      If we look at the above class, we can see that the secret message displayed when executing "Searge" in command blocks is hardcoded, and as a result, is untranslatable. This is evident through the following piece of code:

      new TextComponent("#itzlipofutzli")

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: