struct Rosegold::BossBarState

Defined in:

rosegold/packets/clientbound/boss_event.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_add(event : Rosegold::Clientbound::BossEvent) : self #

[View source]
def self.new(uuid : UUID, title : Rosegold::TextComponent, health : Float32, color : Rosegold::Clientbound::BossEvent::Color, division : Rosegold::Clientbound::BossEvent::Division, flags : UInt8) #

[View source]

Instance Method Detail


[View source]
def apply(event : Rosegold::Clientbound::BossEvent) : self #

[View source]

[View source]

[View source]
def flags : UInt8 #

[View source]
def health : Float32 #

[View source]

[View source]
def uuid : UUID #

[View source]