Affects Version/s: 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5 Release Candidate 1, 1.16.5, 21w05b, 21w07a, 21w08b, 21w10a, 21w11a, 21w18a, 21w19a
Fix Version/s: 21w20a
Category:Commands, Mob behaviour
Piglins, piglin brutes, hoglins, zoglins and axolotls can attack or be attacked in the same team. They will also attack players, wither skeletons and withers that are in the same team.
- Create a team
- Summon piglin and hoglin with the Team tag
- Wait for the piglins to become hungry
→ Eventually, the hungry piglin will have to hunt its own teammate for food, and the hoglin will retaliate on its teammates.
- Create team
- Summon zoglin with the Team tag
- Spawn any random mob in the same team where the zoglin is
→ The zoglin will automatically attack its teammates.
- Create team
- Summon brute with the Team tag
- Add player to the Team
→ The brute will automatically attack, despite being in the same team.