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

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 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, 1.15.1, 1.15.2, 20w08a, 20w48a, 21w03a, 21w05b
    • None
    • Confirmed
    • (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
        /team add testTeam
        
      2. Summon the following entities
        /summon armor_stand ~ ~ ~ {Team:"testTeam"}
        /summon minecart ~ ~ ~ {Team:"testTeam"}
        
      3. Run the following command
        /team list testTeam
        

        → It only shows the armor stand

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

        → Now the minecart is listed as well

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marcono1234 [Mod] Marcono1234
              Votes:
              10 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: