Package net.minecraft.client.gui
Class IngameGui
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.IngameGui
- Direct Known Subclasses:
ForgeIngameGui
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected final BossOverlayGuiprotected final NewChatGuiprotected final Map<ChatType,List<IChatListener>> protected final DebugOverlayGuiprivate static final ITextComponentprotected intprotected longprotected final ItemRendererprotected intprotected longprotected ItemStackprotected final Minecraftprotected ITextComponentprotected intprotected static final ResourceLocationprotected final Randomprotected intprotected intprotected final SpectatorGuiprotected ITextComponentprotected final SubtitleOverlayGuiprotected final PlayerTabOverlayGuiprotected intprotected ITextComponentprotected intprotected intprotected intprotected intprotected intprotected static final ResourceLocationfloatprotected static final ResourceLocationFields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanRenderCrosshairForSpectator(RayTraceResult p_212913_1_) voidprotected voiddisplayScoreboardSidebar(MatrixStack p_238447_1_, ScoreObjective p_238447_2_) protected voiddrawBackdrop(MatrixStack p_238448_1_, FontRenderer p_238448_2_, int p_238448_3_, int p_238448_4_, int p_238448_5_) private PlayerEntitygetChat()getFont()intprivate LivingEntityprivate intgetVehicleMaxHearts(LivingEntity p_212306_1_) private intgetVisibleVehicleHeartRows(int p_212302_1_) guessChatUUID(ITextComponent p_244795_1_) voidhandleChat(ChatType p_238450_1_, ITextComponent p_238450_2_, UUID p_238450_3_) voidvoidrender(MatrixStack p_238445_1_, float p_238445_2_) protected voidrenderCrosshair(MatrixStack p_238456_1_) voidrenderDemoOverlay(MatrixStack p_238455_1_) protected voidrenderEffects(MatrixStack p_238444_1_) voidrenderExperienceBar(MatrixStack p_238454_1_, int p_238454_2_) protected voidrenderHotbar(float p_238443_1_, MatrixStack p_238443_2_) voidrenderJumpMeter(MatrixStack p_238446_1_, int p_238446_2_) private voidrenderPlayerHealth(MatrixStack p_238457_1_) protected voidrenderPortalOverlay(float p_194805_1_) protected voidvoidrenderSelectedItemName(MatrixStack p_238453_1_) private voidrenderSlot(int p_184044_1_, int p_184044_2_, float p_184044_3_, PlayerEntity p_184044_4_, ItemStack p_184044_5_) private voidrenderVehicleHealth(MatrixStack p_238458_1_) protected voidrenderVignette(Entity p_212303_1_) voidvoidsetNowPlaying(ITextComponent p_238451_1_) voidsetOverlayMessage(ITextComponent p_175188_1_, boolean p_175188_2_) voidsetTitles(ITextComponent p_238452_1_, ITextComponent p_238452_2_, int p_238452_3_, int p_238452_4_, int p_238452_5_) voidtick()private voidupdateVignetteBrightness(Entity p_212307_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 Details
-
VIGNETTE_LOCATION
-
WIDGETS_LOCATION
-
PUMPKIN_BLUR_LOCATION
-
DEMO_EXPIRED_TEXT
-
random
-
minecraft
-
itemRenderer
-
chat
-
tickCount
protected int tickCount -
overlayMessageString
-
overlayMessageTime
protected int overlayMessageTime -
animateOverlayMessageColor
protected boolean animateOverlayMessageColor -
vignetteBrightness
public float vignetteBrightness -
toolHighlightTimer
protected int toolHighlightTimer -
lastToolHighlight
-
debugScreen
-
subtitleOverlay
-
spectatorGui
-
tabList
-
bossOverlay
-
titleTime
protected int titleTime -
title
-
subtitle
-
titleFadeInTime
protected int titleFadeInTime -
titleStayTime
protected int titleStayTime -
titleFadeOutTime
protected int titleFadeOutTime -
lastHealth
protected int lastHealth -
displayHealth
protected int displayHealth -
lastHealthTime
protected long lastHealthTime -
healthBlinkTime
protected long healthBlinkTime -
screenWidth
protected int screenWidth -
screenHeight
protected int screenHeight -
chatListeners
-
-
Constructor Details
-
IngameGui
-
-
Method Details
-
resetTitleTimes
public void resetTitleTimes() -
render
-
drawBackdrop
protected void drawBackdrop(MatrixStack p_238448_1_, FontRenderer p_238448_2_, int p_238448_3_, int p_238448_4_, int p_238448_5_) -
renderCrosshair
-
canRenderCrosshairForSpectator
-
renderEffects
-
renderHotbar
-
renderJumpMeter
-
renderExperienceBar
-
renderSelectedItemName
-
renderDemoOverlay
-
displayScoreboardSidebar
-
getCameraPlayer
-
getPlayerVehicleWithHealth
-
getVehicleMaxHearts
-
getVisibleVehicleHeartRows
private int getVisibleVehicleHeartRows(int p_212302_1_) -
renderPlayerHealth
-
renderVehicleHealth
-
renderPumpkin
protected void renderPumpkin() -
updateVignetteBrightness
-
renderVignette
-
renderPortalOverlay
protected void renderPortalOverlay(float p_194805_1_) -
renderSlot
private void renderSlot(int p_184044_1_, int p_184044_2_, float p_184044_3_, PlayerEntity p_184044_4_, ItemStack p_184044_5_) -
tick
public void tick() -
setNowPlaying
-
setOverlayMessage
-
setTitles
public void setTitles(@Nullable ITextComponent p_238452_1_, @Nullable ITextComponent p_238452_2_, int p_238452_3_, int p_238452_4_, int p_238452_5_) -
guessChatUUID
-
handleChat
-
getChat
-
getGuiTicks
public int getGuiTicks() -
getFont
-
getSpectatorGui
-
getTabList
-
onDisconnected
public void onDisconnected() -
getBossOverlay
-
clearCache
public void clearCache()
-