View on GitHub

Soupply

Automatically generated libraries for encoding and decoding Minecraft protocols

home / java338 / clientbound / boss-bar

Boss bar

Encode/decode this packet in Sandbox

Id: 12

Id (hex): 0C

Id (bin): 00001100

Clientbound: ✔️

Serverbound: ✖️

Fields

Name Type
uuid uuid
action varuint

Variants

Variant Field Value
Add action 0
Remove action 1
Update Health action 2
Update Title action 3
Update Style action 4
Update Flags action 5

Add

Additional Fields

Name Type
title string
health float
color varuint
division varuint
flags ubyte

color

Constants:

Name Value
pink 0
blue 1
red 2
green 3
yellow 4
purple 5
white 6

division

Constants:

Name Value
no division 0
six notches 1
ten notches 2
twelve notches 3
twenty notches 4

flags

Constants:

Name Value
dark sky 1
is dragon bar 2

Remove

Update Health

Additional Fields

Name Type
health float

Update Title

Additional Fields

Name Type
title string

Update Style

Additional Fields

Name Type
color varuint
division varuint

color

Constants:

Name Value
pink 0
blue 1
red 2
green 3
yellow 4
purple 5
white 6

division

Constants:

Name Value
no division 0
six notches 1
ten notches 2
twelve notches 3
twenty notches 4

Update Flags

Additional Fields

Name Type
flags ubyte

flags

Constants:

Name Value
dark sky 1
is dragon bar 2