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

The team prefix is included in the entity's team join message

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.21
    • None
    • Confirmed
    • Commands

      Observed behavior
      When an entity joins a team, the team prefix is incorrectly added before the entity's display name in the chat message.

      Expected result
      The join message should not be formatted as it can be confusing in some cases (e.g. if the prefix is the letter "y", the message would read "Added ypLayer to team [Team]").

      Steps

      /team add Team
      
      /team modify Team prefix {"text":"Visiblity ","color":"green"}
      
      * /team join Team @s
      OR
      * /summon minecraft:chicken
      * /team join Team @e[type=minecraft:chicken,limit=1,distance=..10]
      

            Unassigned Unassigned
            Lunarian Lunarian
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: