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
Modifier and TypeFieldDescriptionprotected boolean
protected final BossOverlayGui
protected final NewChatGui
protected final Map<ChatType,
List<IChatListener>> protected final DebugOverlayGui
private static final ITextComponent
protected int
protected long
protected final ItemRenderer
protected int
protected long
protected ItemStack
protected final Minecraft
protected ITextComponent
protected int
protected static final ResourceLocation
protected final Random
protected int
protected int
protected final SpectatorGui
protected ITextComponent
protected final SubtitleOverlayGui
protected final PlayerTabOverlayGui
protected int
protected ITextComponent
protected int
protected int
protected int
protected int
protected int
protected static final ResourceLocation
float
protected static final ResourceLocation
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canRenderCrosshairForSpectator
(RayTraceResult p_212913_1_) void
protected void
displayScoreboardSidebar
(MatrixStack p_238447_1_, ScoreObjective p_238447_2_) protected void
drawBackdrop
(MatrixStack p_238448_1_, FontRenderer p_238448_2_, int p_238448_3_, int p_238448_4_, int p_238448_5_) private PlayerEntity
getChat()
getFont()
int
private LivingEntity
private int
getVehicleMaxHearts
(LivingEntity p_212306_1_) private int
getVisibleVehicleHeartRows
(int p_212302_1_) guessChatUUID
(ITextComponent p_244795_1_) void
handleChat
(ChatType p_238450_1_, ITextComponent p_238450_2_, UUID p_238450_3_) void
void
render
(MatrixStack p_238445_1_, float p_238445_2_) protected void
renderCrosshair
(MatrixStack p_238456_1_) void
renderDemoOverlay
(MatrixStack p_238455_1_) protected void
renderEffects
(MatrixStack p_238444_1_) void
renderExperienceBar
(MatrixStack p_238454_1_, int p_238454_2_) protected void
renderHotbar
(float p_238443_1_, MatrixStack p_238443_2_) void
renderJumpMeter
(MatrixStack p_238446_1_, int p_238446_2_) private void
renderPlayerHealth
(MatrixStack p_238457_1_) protected void
renderPortalOverlay
(float p_194805_1_) protected void
void
renderSelectedItemName
(MatrixStack p_238453_1_) private void
renderSlot
(int p_184044_1_, int p_184044_2_, float p_184044_3_, PlayerEntity p_184044_4_, ItemStack p_184044_5_) private void
renderVehicleHealth
(MatrixStack p_238458_1_) protected void
renderVignette
(Entity p_212303_1_) void
void
setNowPlaying
(ITextComponent p_238451_1_) void
setOverlayMessage
(ITextComponent p_175188_1_, boolean p_175188_2_) void
setTitles
(ITextComponent p_238452_1_, ITextComponent p_238452_2_, int p_238452_3_, int p_238452_4_, int p_238452_5_) void
tick()
private void
updateVignetteBrightness
(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()
-