Class LerpingBossEvent
java.lang.Object
net.minecraft.world.BossEvent
net.minecraft.client.gui.components.LerpingBossEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.BossEvent
BossEvent.BossBarColor, BossEvent.BossBarOverlay
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
protected long
protected float
Fields inherited from class net.minecraft.world.BossEvent
color, createWorldFog, darkenScreen, name, overlay, playBossMusic, progress
-
Constructor Summary
ConstructorDescriptionLerpingBossEvent
(UUID p_169021_, Component p_169022_, float p_169023_, BossEvent.BossBarColor p_169024_, BossEvent.BossBarOverlay p_169025_, boolean p_169026_, boolean p_169027_, boolean p_169028_) -
Method Summary
Methods inherited from class net.minecraft.world.BossEvent
getColor, getId, getName, getOverlay, setColor, setCreateWorldFog, setDarkenScreen, setName, setOverlay, setPlayBossMusic, shouldCreateWorldFog, shouldDarkenScreen, shouldPlayBossMusic
-
Field Details
-
LERP_MILLISECONDS
private static final long LERP_MILLISECONDS- See Also:
-
targetPercent
protected float targetPercent -
setTime
protected long setTime
-
-
Constructor Details
-
LerpingBossEvent
public LerpingBossEvent(UUID p_169021_, Component p_169022_, float p_169023_, BossEvent.BossBarColor p_169024_, BossEvent.BossBarOverlay p_169025_, boolean p_169026_, boolean p_169027_, boolean p_169028_)
-
-
Method Details
-
setProgress
public void setProgress(float p_169030_) - Overrides:
setProgress
in classBossEvent
-
getProgress
public float getProgress()- Overrides:
getProgress
in classBossEvent
-