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 guiGraphics, int x, int y, BossEvent bossEvent) private voiddrawBar(GuiGraphics guiGraphics, int x, int y, BossEvent bossEvent, int progress, ResourceLocation[] barProgressSprites, ResourceLocation[] overlayProgressSprites) voidrender(GuiGraphics guiGraphics) voidreset()booleanbooleanbooleanvoidupdate(ClientboundBossEventPacket packet)
-
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 guiGraphics, int x, int y, BossEvent bossEvent, int progress, ResourceLocation[] barProgressSprites, ResourceLocation[] overlayProgressSprites) -
update
-
reset
public void reset() -
shouldPlayMusic
public boolean shouldPlayMusic() -
shouldDarkenScreen
public boolean shouldDarkenScreen() -
shouldCreateWorldFog
public boolean shouldCreateWorldFog()
-