net.minecraft.client.gui

public class Gui

ese
net.minecraft.client.gui.Gui
net.minecraft.class_329
net.minecraft.client.gui.hud.InGameHud
net.minecraft.src.C_3431_

Field summary

Modifier and TypeField
private static final ResourceLocation
b
CROSSHAIR_SPRITE
field_45304
CROSSHAIR_TEXTURE
f_291829_
private static final ResourceLocation
c
CROSSHAIR_ATTACK_INDICATOR_FULL_SPRITE
field_45305
CROSSHAIR_ATTACK_INDICATOR_FULL_TEXTURE
f_291363_
private static final ResourceLocation
d
CROSSHAIR_ATTACK_INDICATOR_BACKGROUND_SPRITE
field_45306
CROSSHAIR_ATTACK_INDICATOR_BACKGROUND_TEXTURE
f_291360_
private static final ResourceLocation
e
CROSSHAIR_ATTACK_INDICATOR_PROGRESS_SPRITE
field_45307
CROSSHAIR_ATTACK_INDICATOR_PROGRESS_TEXTURE
f_290711_
private static final ResourceLocation
f
EFFECT_BACKGROUND_AMBIENT_SPRITE
field_45308
EFFECT_BACKGROUND_AMBIENT_TEXTURE
f_291473_
private static final ResourceLocation
g
EFFECT_BACKGROUND_SPRITE
field_45309
EFFECT_BACKGROUND_TEXTURE
f_290513_
private static final ResourceLocation
h
HOTBAR_SPRITE
field_45310
HOTBAR_TEXTURE
f_291149_
private static final ResourceLocation
i
HOTBAR_SELECTION_SPRITE
field_45311
HOTBAR_SELECTION_TEXTURE
f_290368_
private static final ResourceLocation
j
HOTBAR_OFFHAND_LEFT_SPRITE
field_45312
HOTBAR_OFFHAND_LEFT_TEXTURE
f_291322_
private static final ResourceLocation
k
HOTBAR_OFFHAND_RIGHT_SPRITE
field_45313
HOTBAR_OFFHAND_RIGHT_TEXTURE
f_291864_
private static final ResourceLocation
l
HOTBAR_ATTACK_INDICATOR_BACKGROUND_SPRITE
field_45314
HOTBAR_ATTACK_INDICATOR_BACKGROUND_TEXTURE
f_290833_
private static final ResourceLocation
m
HOTBAR_ATTACK_INDICATOR_PROGRESS_SPRITE
field_45315
HOTBAR_ATTACK_INDICATOR_PROGRESS_TEXTURE
f_291301_
private static final ResourceLocation
n
JUMP_BAR_BACKGROUND_SPRITE
field_45316
JUMP_BAR_BACKGROUND_TEXTURE
f_291483_
private static final ResourceLocation
o
JUMP_BAR_COOLDOWN_SPRITE
field_45317
JUMP_BAR_COOLDOWN_TEXTURE
f_291104_
private static final ResourceLocation
p
JUMP_BAR_PROGRESS_SPRITE
field_45318
JUMP_BAR_PROGRESS_TEXTURE
f_291820_
private static final ResourceLocation
q
EXPERIENCE_BAR_BACKGROUND_SPRITE
field_45319
EXPERIENCE_BAR_BACKGROUND_TEXTURE
f_291741_
private static final ResourceLocation
r
EXPERIENCE_BAR_PROGRESS_SPRITE
field_45320
EXPERIENCE_BAR_PROGRESS_TEXTURE
f_291491_
private static final ResourceLocation
s
ARMOR_EMPTY_SPRITE
field_45321
ARMOR_EMPTY_TEXTURE
f_291879_
private static final ResourceLocation
t
ARMOR_HALF_SPRITE
field_45322
ARMOR_HALF_TEXTURE
f_291785_
private static final ResourceLocation
u
ARMOR_FULL_SPRITE
field_45323
ARMOR_FULL_TEXTURE
f_290436_
private static final ResourceLocation
v
FOOD_EMPTY_HUNGER_SPRITE
field_45324
FOOD_EMPTY_HUNGER_TEXTURE
f_291486_
private static final ResourceLocation
w
FOOD_HALF_HUNGER_SPRITE
field_45325
FOOD_HALF_HUNGER_TEXTURE
f_291577_
private static final ResourceLocation
x
FOOD_FULL_HUNGER_SPRITE
field_45326
FOOD_FULL_HUNGER_TEXTURE
f_290366_
private static final ResourceLocation
y
FOOD_EMPTY_SPRITE
field_45327
FOOD_EMPTY_TEXTURE
f_290694_
private static final ResourceLocation
z
FOOD_HALF_SPRITE
field_45328
FOOD_HALF_TEXTURE
f_291002_
private static final ResourceLocation
A
FOOD_FULL_SPRITE
field_45298
FOOD_FULL_TEXTURE
f_291650_
private static final ResourceLocation
B
AIR_SPRITE
field_45299
AIR_TEXTURE
f_291833_
private static final ResourceLocation
C
AIR_BURSTING_SPRITE
field_45300
AIR_BURSTING_TEXTURE
f_291609_
private static final ResourceLocation
D
HEART_VEHICLE_CONTAINER_SPRITE
field_45301
VEHICLE_CONTAINER_HEART_TEXTURE
f_290939_
private static final ResourceLocation
E
HEART_VEHICLE_FULL_SPRITE
field_45302
VEHICLE_FULL_HEART_TEXTURE
f_291256_
private static final ResourceLocation
F
HEART_VEHICLE_HALF_SPRITE
field_45303
VEHICLE_HALF_HEART_TEXTURE
f_290334_
private static final ResourceLocation
G
VIGNETTE_LOCATION
field_2020
VIGNETTE_TEXTURE
f_92981_
private static final ResourceLocation
H
PUMPKIN_BLUR_LOCATION
field_2019
PUMPKIN_BLUR
f_92983_
private static final ResourceLocation
I
SPYGLASS_SCOPE_LOCATION
field_27389
SPYGLASS_SCOPE
f_168665_
private static final ResourceLocation
J
POWDER_SNOW_OUTLINE_LOCATION
field_27960
POWDER_SNOW_OUTLINE
f_168666_
private static final Component
K
DEMO_EXPIRED_TEXT
field_26527
DEMO_EXPIRED_MESSAGE
f_92984_
private static final Component
L
SAVING_TEXT
field_35430
SAVING_LEVEL_TEXT
f_193830_
private static final int
M
COLOR_WHITE
field_32167
WHITE
f_168667_
private static final float
N
MIN_CROSSHAIR_ATTACK_SPEED
field_32168
field_32168
f_168668_
private static final int
O
NUM_HEARTS_PER_ROW
field_32169
field_32169
f_168669_
private static final int
P
LINE_HEIGHT
field_32170
field_32170
f_168670_
private static final String
Q
SPACER
field_32171
SCOREBOARD_JOINER
f_168671_
private static final float
R
PORTAL_OVERLAY_ALPHA_MIN
field_32172
field_32172
f_168672_
private static final int
S
HEART_SIZE
field_33942
field_33942
f_168673_
private static final int
T
HEART_SEPARATION
field_33943
field_33943
f_168674_
private static final float
U
AUTOSAVE_FADE_SPEED_FACTOR
field_35431
field_35431
f_193831_
private final RandomSource
V
random
field_2034
random
f_92985_
private final Minecraft
W
minecraft
field_2035
client
f_92986_
private final ItemRenderer
X
itemRenderer
field_2024
itemRenderer
f_92987_
private final ChatComponent
Y
chat
field_2021
chatHud
f_92988_
private int
Z
tickCount
field_2042
ticks
f_92989_
private Component
aa
overlayMessageString
field_2018
overlayMessage
f_92990_
private int
ab
overlayMessageTime
field_2041
overlayRemaining
f_92991_
private boolean
ac
animateOverlayMessageColor
field_2038
overlayTinted
f_92992_
private boolean
ad
chatDisabledByPlayerShown
field_39458
canShowChatDisabledScreen
f_238167_
public float
a
vignetteBrightness
field_2013
vignetteDarkness
f_92980_
private int
ae
toolHighlightTimer
field_2040
heldItemTooltipFade
f_92993_
private ItemStack
af
lastToolHighlight
field_2031
currentStack
f_92994_
private final DebugScreenOverlay
ag
debugOverlay
field_2026
debugHud
f_291320_
private final SubtitleOverlay
ah
subtitleOverlay
field_2027
subtitlesHud
f_92996_
private final SpectatorGui
ai
spectatorGui
field_2025
spectatorHud
f_92997_
private final PlayerTabOverlay
aj
tabList
field_2015
playerListHud
f_92998_
private final BossHealthOverlay
ak
bossOverlay
field_2030
bossBarHud
f_92999_
private int
al
titleTime
field_2023
titleRemainTicks
f_93000_
private Component
am
title
field_2016
title
f_93001_
private Component
an
subtitle
field_2039
subtitle
f_93002_
private int
ao
titleFadeInTime
field_2037
titleFadeInTicks
f_92970_
private int
ap
titleStayTime
field_2017
titleStayTicks
f_92971_
private int
aq
titleFadeOutTime
field_2036
titleFadeOutTicks
f_92972_
private int
ar
lastHealth
field_2014
lastHealthValue
f_92973_
private int
as
displayHealth
field_2033
renderHealthValue
f_92974_
private long
at
lastHealthTime
field_2012
lastHealthCheckTime
f_92975_
private long
au
healthBlinkTime
field_2032
heartJumpEndTick
f_92976_
private int
av
screenWidth
field_2011
scaledWidth
f_92977_
private int
aw
screenHeight
field_2029
scaledHeight
f_92978_
private float
ax
autosaveIndicatorValue
field_35428
autosaveIndicatorAlpha
f_193828_
private float
ay
lastAutosaveIndicatorValue
field_35429
lastAutosaveIndicatorAlpha
f_193829_
private float
az
scopeScale
field_27959
spyglassScale
f_168664_

Constructor summary

ModifierConstructor
public (Minecraft client, ItemRenderer itemRenderer)

Method summary

Modifier and TypeMethod
public void
a()
resetTitleTimes()
method_1742()
setDefaultTitleFade()
m_93006_()
public void
a(esf arg0, float arg1)
render(GuiGraphics arg0, float arg1)
method_1753(class_332 arg0, float arg1)
render(DrawContext context, float tickDelta)
m_280421_(C_279497_ p_282611_, float arg1)
private void
a(esf arg0, esd arg1, int arg2, int arg3, int arg4)
drawBackdrop(GuiGraphics arg0, Font arg1, int arg2, int arg3, int arg4)
method_19346(class_332 arg0, class_327 arg1, int arg2, int arg3, int arg4)
drawTextBackground(DrawContext context, TextRenderer textRenderer, int yOffset, int width, int color)
m_93039_(C_279497_ p_93041_, C_3429_ p_93042_, int p_93043_, int p_93044_, int arg4)
private void
d(esf arg0)
renderCrosshair(GuiGraphics arg0)
method_1736(class_332 arg0)
renderCrosshair(DrawContext context)
m_280130_(C_279497_ arg0)
private boolean
a(ehl arg0)
canRenderCrosshairForSpectator(HitResult arg0)
method_17534(class_239 arg0)
shouldRenderSpectatorCrosshair(HitResult hitResult)
m_93024_(C_3043_ arg0)
protected void
a(esf arg0)
renderEffects(GuiGraphics arg0)
method_1765(class_332 arg0)
renderStatusEffectOverlay(DrawContext context)
m_280523_(C_279497_ arg0)
private void
a(float arg0, esf arg1)
renderHotbar(float arg0, GuiGraphics arg1)
method_1759(float arg0, class_332 arg1)
renderHotbar(float tickDelta, DrawContext context)
m_280518_(float p_282108_, C_279497_ arg1)
public void
a(bjr arg0, esf arg1, int arg2)
renderJumpMeter(PlayerRideableJumping arg0, GuiGraphics arg1, int arg2)
method_1752(class_1316 arg0, class_332 arg1, int arg2)
renderMountJumpBar(JumpingMount mount, DrawContext context, int x)
m_280069_(C_534_ p_282939_, C_279497_ p_283351_, int arg2)
public void
a(esf arg0, int arg1)
renderExperienceBar(GuiGraphics arg0, int arg1)
method_1754(class_332 arg0, int arg1)
renderExperienceBar(DrawContext context, int x)
m_280276_(C_279497_ p_282731_, int arg1)
public void
b(esf arg0)
renderSelectedItemName(GuiGraphics arg0)
method_1749(class_332 arg0)
renderHeldItemTooltip(DrawContext context)
m_280295_(C_279497_ arg0)
public void
c(esf arg0)
renderDemoOverlay(GuiGraphics arg0)
method_1766(class_332 arg0)
renderDemoTimer(DrawContext context)
m_280339_(C_279497_ arg0)
private void
a(esf arg0, eij arg1)
displayScoreboardSidebar(GuiGraphics arg0, Objective arg1)
method_1757(class_332 arg0, class_266 arg1)
renderScoreboardSidebar(DrawContext context, ScoreboardObjective objective)
m_280030_(C_279497_ p_283455_, C_3073_ arg1)
private Player
m()
getCameraPlayer()
method_1737()
getCameraPlayer()
m_93092_()
private LivingEntity
n()
getPlayerVehicleWithHealth()
method_1734()
getRiddenEntity()
m_93093_()
private int
a(bjg arg0)
getVehicleMaxHearts(LivingEntity arg0)
method_1744(class_1309 arg0)
getHeartCount(LivingEntity entity)
m_93022_(C_524_ arg0)
private int
a(int arg0)
getVisibleVehicleHeartRows(int arg0)
method_1733(int arg0)
getHeartRows(int heartCount)
m_93012_(int arg0)
private void
e(esf arg0)
renderPlayerHealth(GuiGraphics arg0)
method_1760(class_332 arg0)
renderStatusBars(DrawContext context)
m_280173_(C_279497_ arg0)
private void
a(esf arg0, cbu arg1, int arg2, int arg3, int arg4, int arg5, float arg6, int arg7, int arg8, int arg9, boolean arg10)
renderHearts(GuiGraphics arg0, Player arg1, int arg2, int arg3, int arg4, int arg5, float arg6, int arg7, int arg8, int arg9, boolean arg10)
method_37298(class_332 arg0, class_1657 arg1, int arg2, int arg3, int arg4, int arg5, float arg6, int arg7, int arg8, int arg9, boolean arg10)
renderHealthBar(DrawContext context, PlayerEntity player, int x, int y, int lines, int regeneratingHeartIndex, float maxHealth, int lastHealth, int health, int absorption, boolean blinking)
m_168688_(C_279497_ p_168690_, C_1141_ p_168691_, int p_168692_, int p_168693_, int p_168694_, int p_168695_, float p_168696_, int p_168697_, int p_168698_, int p_168699_, boolean arg10)
private void
a(esf arg0, ese$a arg1, int arg2, int arg3, boolean arg4, boolean arg5, boolean arg6)
renderHeart(GuiGraphics arg0, Gui$HeartType arg1, int arg2, int arg3, boolean arg4, boolean arg5, boolean arg6)
method_37299(class_332 arg0, class_329$class_6411 arg1, int arg2, int arg3, boolean arg4, boolean arg5, boolean arg6)
drawHeart(DrawContext context, InGameHud$HeartType type, int x, int y, boolean hardcore, boolean blinking, boolean half)
m_280593_(C_279497_ p_281393_, C_3431_$C_141588_ p_283636_, int p_283279_, int p_283440_, boolean p_282496_, boolean p_301416_, boolean arg6)
private void
f(esf arg0)
renderVehicleHealth(GuiGraphics arg0)
method_1741(class_332 arg0)
renderMountHealth(DrawContext context)
m_280250_(C_279497_ arg0)
private void
a(esf arg0, aew arg1, float arg2)
renderTextureOverlay(GuiGraphics arg0, ResourceLocation arg1, float arg2)
method_31977(class_332 arg0, class_2960 arg1, float arg2)
renderOverlay(DrawContext context, Identifier texture, float opacity)
m_280155_(C_279497_ p_281622_, C_5265_ p_281504_, float arg2)
private void
b(esf arg0, float arg1)
renderSpyglassOverlay(GuiGraphics arg0, float arg1)
method_32598(class_332 arg0, float arg1)
renderSpyglassOverlay(DrawContext context, float scale)
m_280278_(C_279497_ p_283442_, float arg1)
private void
a(biq arg0)
updateVignetteBrightness(Entity arg0)
method_1731(class_1297 arg0)
updateVignetteDarkness(Entity entity)
m_93020_(C_507_ arg0)
private void
a(esf arg0, biq arg1)
renderVignette(GuiGraphics arg0, Entity arg1)
method_1735(class_332 arg0, class_1297 arg1)
renderVignetteOverlay(DrawContext context, Entity entity)
m_280154_(C_279497_ p_283439_, C_507_ arg1)
private void
c(esf arg0, float arg1)
renderPortalOverlay(GuiGraphics arg0, float arg1)
method_1746(class_332 arg0, float arg1)
renderPortalOverlay(DrawContext context, float nauseaStrength)
m_280379_(C_279497_ p_283296_, float arg1)
private void
a(esf arg0, int arg1, int arg2, float arg3, cbu arg4, cjf arg5, int arg6)
renderSlot(GuiGraphics arg0, int arg1, int arg2, float arg3, Player arg4, ItemStack arg5, int arg6)
method_1762(class_332 arg0, int arg1, int arg2, float arg3, class_1657 arg4, class_1799 arg5, int arg6)
renderHotbarItem(DrawContext context, int x, int y, float tickDelta, PlayerEntity player, ItemStack stack, int seed)
m_280585_(C_279497_ p_283213_, int p_281301_, int p_281885_, float p_283644_, C_1141_ p_283317_, C_1391_ p_283261_, int arg6)
public void
a(boolean arg0)
tick(boolean arg0)
method_39191(boolean arg0)
tick(boolean paused)
m_193832_(boolean arg0)
private void
o()
tick()
method_1748()
tick()
m_93066_()
private void
p()
tickAutosaveIndicator()
method_39193()
tickAutosaveIndicator()
m_193836_()
public void
a(tl arg0)
setNowPlaying(Component arg0)
method_1732(class_2561 arg0)
setRecordPlayingOverlay(Text description)
m_93055_(C_4996_ arg0)
public void
a(tl arg0, boolean arg1)
setOverlayMessage(Component arg0, boolean arg1)
method_1758(class_2561 arg0, boolean arg1)
setOverlayMessage(Text message, boolean tinted)
m_93063_(C_4996_ p_93065_, boolean arg1)
public void
b(boolean arg0)
setChatDisabledByPlayerShown(boolean arg0)
method_44354(boolean arg0)
setCanShowChatDisabledScreen(boolean canShowChatDisabledScreen)
m_238397_(boolean arg0)
public boolean
b()
isShowingChatDisabledByPlayer()
method_44353()
shouldShowChatDisabledScreen()
m_238351_()
public void
a(int arg0, int arg1, int arg2)
setTimes(int arg0, int arg1, int arg2)
method_34001(int arg0, int arg1, int arg2)
setTitleTicks(int fadeInTicks, int stayTicks, int fadeOutTicks)
m_168684_(int p_168686_, int p_168687_, int arg2)
public void
b(tl arg0)
setSubtitle(Component arg0)
method_34002(class_2561 arg0)
setSubtitle(Text subtitle)
m_168711_(C_4996_ arg0)
public void
c(tl arg0)
setTitle(Component arg0)
method_34004(class_2561 arg0)
setTitle(Text title)
m_168714_(C_4996_ arg0)
public void
c()
clear()
method_34003()
clearTitle()
m_168713_()
public ChatComponent
d()
getChat()
method_1743()
getChatHud()
m_93076_()
public int
e()
getGuiTicks()
method_1738()
getTicks()
m_93079_()
public Font
f()
getFont()
method_1756()
getTextRenderer()
m_93082_()
public SpectatorGui
g()
getSpectatorGui()
method_1739()
getSpectatorHud()
m_93085_()
public PlayerTabOverlay
h()
getTabList()
method_1750()
getPlayerListHud()
m_93088_()
public void
i()
onDisconnected()
method_1747()
clear()
m_93089_()
public BossHealthOverlay
j()
getBossOverlay()
method_1740()
getBossBarHud()
m_93090_()
public DebugScreenOverlay
k()
getDebugOverlay()
method_53531()
getDebugHud()
m_295051_()
public void
l()
clearCache()
method_1745()
resetDebugHudChunk()
m_93091_()
private void
g(esf arg0)
renderSavingIndicator(GuiGraphics arg0)
method_39192(class_332 arg0)
renderAutosaveIndicator(DrawContext context)
m_280266_(C_279497_ arg0)