Package net.minecraft.client.gui
Class ClientBossInfo
java.lang.Object
net.minecraft.world.BossInfo
net.minecraft.client.gui.ClientBossInfo
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.BossInfo
BossInfo.Color, BossInfo.Overlay
-
Field Summary
Fields inherited from class net.minecraft.world.BossInfo
color, createWorldFog, darkenScreen, name, overlay, percent, playBossMusic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
void
setPercent
(float p_186735_1_) void
update
(SUpdateBossInfoPacket p_186765_1_) Methods inherited from class net.minecraft.world.BossInfo
getColor, getId, getName, getOverlay, setColor, setCreateWorldFog, setDarkenScreen, setName, setOverlay, setPlayBossMusic, shouldCreateWorldFog, shouldDarkenScreen, shouldPlayBossMusic
-
Field Details
-
targetPercent
protected float targetPercent -
setTime
protected long setTime
-
-
Constructor Details
-
ClientBossInfo
-
-
Method Details
-
setPercent
public void setPercent(float p_186735_1_) - Overrides:
setPercent
in classBossInfo
-
getPercent
public float getPercent()- Overrides:
getPercent
in classBossInfo
-
update
-