Class BossHealthOverlay
java.lang.Object
net.minecraft.client.gui.components.BossHealthOverlay
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation[]
private static final int
private static final ResourceLocation[]
private static final int
(package private) final Map
<UUID, LerpingBossEvent> private final Minecraft
private static final ResourceLocation[]
private static final ResourceLocation[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawBar
(GuiGraphics p_283672_, int p_283570_, int p_283306_, BossEvent p_283156_) private void
drawBar
(GuiGraphics p_281657_, int p_283675_, int p_282498_, BossEvent p_281288_, int p_283619_, ResourceLocation[] p_296156_, ResourceLocation[] p_296292_) void
render
(GuiGraphics p_283175_) void
reset()
boolean
boolean
boolean
void
update
(ClientboundBossEventPacket p_93712_)
-
Field Details
-
BAR_WIDTH
private static final int BAR_WIDTH- See Also:
-
BAR_HEIGHT
private static final int BAR_HEIGHT- See Also:
-
BAR_BACKGROUND_SPRITES
-
BAR_PROGRESS_SPRITES
-
OVERLAY_BACKGROUND_SPRITES
-
OVERLAY_PROGRESS_SPRITES
-
minecraft
-
events
-
-
Constructor Details
-
BossHealthOverlay
-
-
Method Details
-
render
-
drawBar
-
drawBar
private void drawBar(GuiGraphics p_281657_, int p_283675_, int p_282498_, BossEvent p_281288_, int p_283619_, ResourceLocation[] p_296156_, ResourceLocation[] p_296292_) -
update
-
reset
public void reset() -
shouldPlayMusic
public boolean shouldPlayMusic() -
shouldDarkenScreen
public boolean shouldDarkenScreen() -
shouldCreateWorldFog
public boolean shouldCreateWorldFog()
-