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

Team NBT tag only exists for EntityLivingBase entities and not for all

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      The Team tag makes an entity directly join a team once its NBT data is read. As all entities can be in a team this tag should exist for all entities and not only for the ones extending EntityLivingBase.

      How to reproduce

      1. Create a team
        /scoreboard teams add testTeam
        
      2. Summon the following entities
        /summon armor_stand ~ ~ ~ {Team:"testTeam"}
        /summon minecart ~ ~ ~ {Team:"testTeam"}
        
      3. Run the following command
        /scoreboard teams list testTeam
        

        → It only shows the armor stand

      4. Run the following command and repeat the previous step
        /scoreboard teams join testTeam @e[type=minecart,c=1]
        

        → Now the minecart is listed as well

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                5 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: