Class BossHealthOverlay
java.lang.Object
net.minecraft.client.gui.components.BossHealthOverlay
-
Field Summary
FieldsModifier 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawBar
(GuiGraphics pGuiGraphics, int pX, int pY, BossEvent pBossEvent) private void
drawBar
(GuiGraphics pGuiGraphics, int pX, int pY, BossEvent pBossEvent, int pProgress, ResourceLocation[] pBarProgressSprites, ResourceLocation[] pOverlayProgressSprites) void
render
(GuiGraphics pGuiGraphics) void
reset()
boolean
boolean
boolean
void
update
(ClientboundBossEventPacket pPacket)
-
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 pGuiGraphics, int pX, int pY, BossEvent pBossEvent, int pProgress, ResourceLocation[] pBarProgressSprites, ResourceLocation[] pOverlayProgressSprites) -
update
-
reset
public void reset() -
shouldPlayMusic
public boolean shouldPlayMusic() -
shouldDarkenScreen
public boolean shouldDarkenScreen() -
shouldCreateWorldFog
public boolean shouldCreateWorldFog()
-