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

name= in selector with a translated name selects wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 18w03b
    • None
    • Unconfirmed

      When you summon a new entity with a translated name and you select that entity by name, the selection is not the same in 2 different languages.

      Example:

      • Select English (US) in language settings.
      • /summon minecraft:cow ~ ~ ~ {CustomName:" {\"translate\":\"entity.minecraft.chicken\"}

        "

      Test:

      • /say @e[name=Chicken] Result: [Mondemen] Chicken // It probably works
      • /say @e[name=Poule] Result: [Mondemen] // It's normal

      Now if you change the language to French and you retry the previous commands:

      • /say @e[name=Chicken] Result: [Mondemen] // No selection
      • /say @e[name=Poule] Result: [Mondemen] Poule // Selection

      Normally and logically, I think that in this case, it will only be necessary to test the name of the translation, not the value.

      In addition, the translations are only client-side, non-server, does it mean that the server retrieves client translations?

      It's not very clear.

            Unassigned Unassigned
            Mondemen Mondemen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: