BossBar

class BossBar(val id: UUID, name: Component = Component.text(""), progress: Float = 0.0f, color: BossEvent.BossBarColor = BossEvent.BossBarColor.WHITE, overlay: BossEvent.BossBarOverlay = BossEvent.BossBarOverlay.PROGRESS, darkenScreen: Boolean = false, playMusic: Boolean = false, createWorldFog: Boolean = false)

Constructors

Link copied to clipboard
constructor(id: UUID, name: Component = Component.text(""), progress: Float = 0.0f, color: BossEvent.BossBarColor = BossEvent.BossBarColor.WHITE, overlay: BossEvent.BossBarOverlay = BossEvent.BossBarOverlay.PROGRESS, darkenScreen: Boolean = false, playMusic: Boolean = false, createWorldFog: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val addPacket: ClientboundBossEventPacket
Link copied to clipboard
var color: BossEvent.BossBarColor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: UUID
Link copied to clipboard
var name: Component
Link copied to clipboard
var overlay: BossEvent.BossBarOverlay
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val removePacket: ClientboundBossEventPacket
Link copied to clipboard
val updateNamePacket: ClientboundBossEventPacket
Link copied to clipboard
val updateProgressPacket: ClientboundBossEventPacket
Link copied to clipboard
val updatePropertiesPacket: ClientboundBossEventPacket
Link copied to clipboard
val updateStylePacket: ClientboundBossEventPacket