mojira.dev
MC-190761

Pets are added to their owner's team as well when using /team join

When using /team join on a player, all pets of that player will automatically be added to the team as well, however they don't appear in the /team list command. This is probably intentional, but it seems unexpected.

To reproduce

  1. Pet an animal

  2. /team add testTeam
  3. /team join testTeam @s

    → The message says that only you were added to the team, but your pets were as well.

  4. /team list testTeam

    → Only you are in the team

  5. /say @e[team=testTeam]

    → You and your pets are listed.

Linked issues

Attachments

Comments 18

Hi there!

I can confirm in snapshot 20w29a and release 1.16.1.

I can confirm in 20w48a.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05a.

8 more comments

How is this different from MC-157196?

Can confirm in 1.20.4

@@unknown: MC-157196 just says that pets cannot be added to a team on their own, whereas this bug report is about them always being considered as being on the same team as their owner, which might not be desirable in all cases. Both issues are related but independent from each other in my opinion.

When a team is configured to have no name tag visibility, it seems this bug also causes pet names to disappear when their owner is near.

[media][media]

(The screenshots above are taken from my perspective, but I am not the owner of the cat)

Can confirm in 1.21.4

[Mod] violine1101

(Unassigned)

Confirmed

Commands

1.15.2, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w29a, ..., 23w14a, 1.20.1, 1.20.4, 1.21.4, 25w03a

Retrieved