home / java316 / clientbound / teams
Teams
Encode/decode this packet in Sandbox
Id: 65
Id (hex): 41
Id (bin): 01000001
Clientbound: ✔️
Serverbound: ✖️
Fields
Name | Type |
---|---|
name | string |
mode | ubyte |
Variants
Variant | Field | Value |
---|---|---|
Create Team | mode | 0 |
Remove Team | mode | 1 |
Update Team Info | mode | 2 |
Add Players | mode | 3 |
Remove Players | mode | 4 |
Create Team
Additional Fields
Name | Type |
---|---|
display name | string |
prefix | string |
suffix | string |
friendly flags | ubyte |
nametag visibility | string |
collision rule | string |
color | ubyte |
players | string[] |
friendly flags
Constants:
Name | Value |
---|---|
friendly fire | 1 |
see team invisible players | 2 |
nametag visibility
Constants:
Name | Value |
---|---|
always hide | always |
hide other teams | hideOtherTeams |
hide own team | hideOwnTeam |
never hide | never |
collision rule
Constants:
Name | Value |
---|---|
always push | always |
push other teams | pushOtherTeams |
push own team | pushOwnTeam |
never push | never |
Remove Team
Update Team Info
Additional Fields
Name | Type |
---|---|
display name | string |
prefix | string |
suffix | string |
friendly flags | ubyte |
nametag visibility | string |
collision rule | string |
color | ubyte |
friendly flags
Constants:
Name | Value |
---|---|
friendly fire | 1 |
see team invisible players | 2 |
nametag visibility
Constants:
Name | Value |
---|---|
always hide | always |
hide other teams | hideOtherTeams |
hide own team | hideOwnTeam |
never hide | never |
collision rule
Constants:
Name | Value |
---|---|
always push | always |
push other teams | pushOtherTeams |
push own team | pushOwnTeam |
never push | never |
Add Players
Additional Fields
Name | Type |
---|---|
players | string[] |
Remove Players
Additional Fields
Name | Type |
---|---|
players | string[] |