Class BossBar
java.lang.Object
com.zenith.cache.data.bossbar.BossBar
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BossBarColorprotected booleanprotected BossBarDivisionprotected floatprotected booleanprotected net.kyori.adventure.text.Componentprotected final @NonNull UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetColor()floatnet.kyori.adventure.text.ComponentgetTitle()@NonNull UUIDgetUuid()inthashCode()booleanbooleansetColor(BossBarColor color) setDarkenSky(boolean darkenSky) setDivision(BossBarDivision division) setHealth(float health) setPlayEndMusic(boolean playEndMusic) setTitle(net.kyori.adventure.text.Component title) toString()
-
Field Details
-
uuid
-
title
protected net.kyori.adventure.text.Component title -
health
protected float health -
color
-
division
-
darkenSky
protected boolean darkenSky -
playEndMusic
protected boolean playEndMusic
-
-
Constructor Details
-
BossBar
-
-
Method Details
-
toMCProtocolLibPacket
-
getUuid
-
getTitle
public net.kyori.adventure.text.Component getTitle() -
getHealth
public float getHealth() -
getColor
-
getDivision
-
isDarkenSky
public boolean isDarkenSky() -
isPlayEndMusic
public boolean isPlayEndMusic() -
setTitle
- Returns:
this.
-
setHealth
- Returns:
this.
-
setColor
- Returns:
this.
-
setDivision
- Returns:
this.
-
setDarkenSky
- Returns:
this.
-
setPlayEndMusic
- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-