View on GitHub

Soupply

Automatically generated libraries for encoding and decoding Minecraft protocols

home / java338 / clientbound / teams

Teams

Encode/decode this packet in Sandbox

Id: 68

Id (hex): 44

Id (bin): 01000100

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[]