Package net.minecraft.client.gui.overlay
Class BossOverlayGui
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- net.minecraft.client.gui.overlay.BossOverlayGui
-
public class BossOverlayGui extends AbstractGui
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.util.UUID,ClientBossInfo>
events
private static ResourceLocation
GUI_BARS_LOCATION
private Minecraft
minecraft
-
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
-
Constructor Summary
Constructors Constructor Description BossOverlayGui(Minecraft p_i46606_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
drawBar(MatrixStack p_238485_1_, int p_238485_2_, int p_238485_3_, BossInfo p_238485_4_)
void
render(MatrixStack p_238484_1_)
void
reset()
boolean
shouldCreateWorldFog()
boolean
shouldDarkenScreen()
boolean
shouldPlayMusic()
void
update(SUpdateBossInfoPacket p_184055_1_)
-
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
-
-
-
Field Detail
-
GUI_BARS_LOCATION
private static final ResourceLocation GUI_BARS_LOCATION
-
minecraft
private final Minecraft minecraft
-
events
private final java.util.Map<java.util.UUID,ClientBossInfo> events
-
-
Constructor Detail
-
BossOverlayGui
public BossOverlayGui(Minecraft p_i46606_1_)
-
-
Method Detail
-
render
public void render(MatrixStack p_238484_1_)
-
drawBar
private void drawBar(MatrixStack p_238485_1_, int p_238485_2_, int p_238485_3_, BossInfo p_238485_4_)
-
update
public void update(SUpdateBossInfoPacket p_184055_1_)
-
reset
public void reset()
-
shouldPlayMusic
public boolean shouldPlayMusic()
-
shouldDarkenScreen
public boolean shouldDarkenScreen()
-
shouldCreateWorldFog
public boolean shouldCreateWorldFog()
-
-