Class BossHealthOverlay
java.lang.Object
net.minecraft.client.gui.components.BossHealthOverlay
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
(package private) final Map<UUID,
LerpingBossEvent> private static final ResourceLocation
private final Minecraft
private static final int
-
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_, int p_281636_) void
render
(GuiGraphics p_283175_) void
reset()
boolean
boolean
boolean
void
update
(ClientboundBossEventPacket p_93712_)
-
Field Details
-
GUI_BARS_LOCATION
-
BAR_WIDTH
private static final int BAR_WIDTH- See Also:
-
BAR_HEIGHT
private static final int BAR_HEIGHT- See Also:
-
OVERLAY_OFFSET
private static final int OVERLAY_OFFSET- See Also:
-
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_, int p_281636_) -
update
-
reset
public void reset() -
shouldPlayMusic
public boolean shouldPlayMusic() -
shouldDarkenScreen
public boolean shouldDarkenScreen() -
shouldCreateWorldFog
public boolean shouldCreateWorldFog()
-