This command is used for let two teams fight or alliance, it including "friendly","default" and "hostile"
For example(Suppose there are two teams, A and B):
/team relation A B friendly
Member of team A won't attack member of team B(Member of team B could attack member of team A as usual, unless it run "/team relation B A friendly")
/team relation A B hostile
Member of team A will attack member of team B actively
Passive mobs would never attack other mobs(except predation of passive animal,.like ocelot hunt chicken)
Please sign in to leave a comment.