Class BossHealthOverlay
java.lang.Object
net.minecraft.client.gui.components.BossHealthOverlay
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocation[]private static final intprivate static final ResourceLocation[]private static final int(package private) final Map<UUID, LerpingBossEvent> private final Minecraftprivate static final ResourceLocation[]private static final ResourceLocation[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voiddrawBar(GuiGraphics pGuiGraphics, int pX, int pY, BossEvent pBossEvent) private voiddrawBar(GuiGraphics pGuiGraphics, int pX, int pY, BossEvent pBossEvent, int pProgress, ResourceLocation[] pBarProgressSprites, ResourceLocation[] pOverlayProgressSprites) voidrender(GuiGraphics pGuiGraphics) voidreset()booleanbooleanbooleanvoidupdate(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()
-