net.minecraft.client.gui

public class Gui

fhy
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 Comparator<PlayerScoreEntry>
K
SCORE_DISPLAY_ORDER
field_47550
SCOREBOARD_ENTRY_COMPARATOR
f_302813_
private static final Component
L
DEMO_EXPIRED_TEXT
field_26527
DEMO_EXPIRED_MESSAGE
f_92984_
private static final Component
M
SAVING_TEXT
field_35430
SAVING_LEVEL_TEXT
f_193830_
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 ChatComponent
X
chat
field_2021
chatHud
f_92988_
private int
Y
tickCount
field_2042
ticks
f_92989_
private Component
Z
overlayMessageString
field_2018
overlayMessage
f_92990_
private int
aa
overlayMessageTime
field_2041
overlayRemaining
f_92991_
private boolean
ab
animateOverlayMessageColor
field_2038
overlayTinted
f_92992_
private boolean
ac
chatDisabledByPlayerShown
field_39458
canShowChatDisabledScreen
f_238167_
public float
a
vignetteBrightness
field_2013
vignetteDarkness
f_92980_
private int
ad
toolHighlightTimer
field_2040
heldItemTooltipFade
f_92993_
private ItemStack
ae
lastToolHighlight
field_2031
currentStack
f_92994_
private final DebugScreenOverlay
af
debugOverlay
field_2026
debugHud
f_291320_
private final SubtitleOverlay
ag
subtitleOverlay
field_2027
subtitlesHud
f_92996_
private final SpectatorGui
ah
spectatorGui
field_2025
spectatorHud
f_92997_
private final PlayerTabOverlay
ai
tabList
field_2015
playerListHud
f_92998_
private final BossHealthOverlay
aj
bossOverlay
field_2030
bossBarHud
f_92999_
private int
ak
titleTime
field_2023
titleRemainTicks
f_93000_
private Component
al
title
field_2016
title
f_93001_
private Component
am
subtitle
field_2039
subtitle
f_93002_
private int
an
titleFadeInTime
field_2037
titleFadeInTicks
f_92970_
private int
ao
titleStayTime
field_2017
titleStayTicks
f_92971_
private int
ap
titleFadeOutTime
field_2036
titleFadeOutTicks
f_92972_
private int
aq
lastHealth
field_2014
lastHealthValue
f_92973_
private int
ar
displayHealth
field_2033
renderHealthValue
f_92974_
private long
as
lastHealthTime
field_2012
lastHealthCheckTime
f_92975_
private long
at
healthBlinkTime
field_2032
heartJumpEndTick
f_92976_
private float
au
autosaveIndicatorValue
field_35428
autosaveIndicatorAlpha
f_193828_
private float
av
lastAutosaveIndicatorValue
field_35429
lastAutosaveIndicatorAlpha
f_193829_
private final LayeredDraw
aw
layers
field_47847
layeredDrawer
f_316662_
private float
ax
scopeScale
field_27959
spyglassScale
f_168664_

Constructor summary

ModifierConstructor
public (Minecraft client)

Method summary

Modifier and TypeMethod
public void
a()
resetTitleTimes()
method_1742()
setDefaultTitleFade()
m_93006_()
public void
a(fhz arg0, fgf arg1)
render(GuiGraphics arg0, DeltaTracker arg1)
method_1753(class_332 arg0, class_9779 arg1)
render(DrawContext context, RenderTickCounter tickCounter)
m_280421_(C_279497_ p_342095_, C_336468_ arg1)
private void
c(fhz arg0, fgf arg1)
renderCameraOverlays(GuiGraphics arg0, DeltaTracker arg1)
method_55798(class_332 arg0, class_9779 arg1)
renderMiscOverlays(DrawContext context, RenderTickCounter tickCounter)
m_318727_(C_279497_ p_344236_, C_336468_ arg1)
private void
d(fhz arg0, fgf arg1)
renderSleepOverlay(GuiGraphics arg0, DeltaTracker arg1)
method_55799(class_332 arg0, class_9779 arg1)
renderSleepOverlay(DrawContext context, RenderTickCounter tickCounter)
m_322680_(C_279497_ p_345225_, C_336468_ arg1)
private void
e(fhz arg0, fgf arg1)
renderOverlayMessage(GuiGraphics arg0, DeltaTracker arg1)
method_55800(class_332 arg0, class_9779 arg1)
renderOverlayMessage(DrawContext context, RenderTickCounter tickCounter)
m_324281_(C_279497_ p_345514_, C_336468_ arg1)
private void
f(fhz arg0, fgf arg1)
renderTitle(GuiGraphics arg0, DeltaTracker arg1)
method_55801(class_332 arg0, class_9779 arg1)
renderTitleAndSubtitle(DrawContext context, RenderTickCounter tickCounter)
m_320668_(C_279497_ p_344700_, C_336468_ arg1)
private void
g(fhz arg0, fgf arg1)
renderChat(GuiGraphics arg0, DeltaTracker arg1)
method_55802(class_332 arg0, class_9779 arg1)
renderChat(DrawContext context, RenderTickCounter tickCounter)
m_322096_(C_279497_ p_342328_, C_336468_ arg1)
private void
h(fhz arg0, fgf arg1)
renderScoreboardSidebar(GuiGraphics arg0, DeltaTracker arg1)
method_55803(class_332 arg0, class_9779 arg1)
renderScoreboardSidebar(DrawContext context, RenderTickCounter tickCounter)
m_323286_(C_279497_ p_344235_, C_336468_ arg1)
private void
i(fhz arg0, fgf arg1)
renderTabList(GuiGraphics arg0, DeltaTracker arg1)
method_55804(class_332 arg0, class_9779 arg1)
renderPlayerList(DrawContext context, RenderTickCounter tickCounter)
m_320053_(C_279497_ p_343599_, C_336468_ arg1)
private void
j(fhz arg0, fgf arg1)
renderCrosshair(GuiGraphics arg0, DeltaTracker arg1)
method_1736(class_332 arg0, class_9779 arg1)
renderCrosshair(DrawContext context, RenderTickCounter tickCounter)
m_280130_(C_279497_ p_343490_, C_336468_ arg1)
private boolean
a(exa arg0)
canRenderCrosshairForSpectator(HitResult arg0)
method_17534(class_239 arg0)
shouldRenderSpectatorCrosshair(HitResult hitResult)
m_93024_(C_3043_ arg0)
private void
k(fhz arg0, fgf arg1)
renderEffects(GuiGraphics arg0, DeltaTracker arg1)
method_1765(class_332 arg0, class_9779 arg1)
renderStatusEffectOverlay(DrawContext context, RenderTickCounter tickCounter)
m_280523_(C_279497_ p_343719_, C_336468_ arg1)
private void
l(fhz arg0, fgf arg1)
renderHotbarAndDecorations(GuiGraphics arg0, DeltaTracker arg1)
method_55805(class_332 arg0, class_9779 arg1)
renderMainHud(DrawContext context, RenderTickCounter tickCounter)
m_319215_(C_279497_ p_344796_, C_336468_ arg1)
private void
m(fhz arg0, fgf arg1)
renderItemHotbar(GuiGraphics arg0, DeltaTracker arg1)
method_1759(class_332 arg0, class_9779 arg1)
renderHotbar(DrawContext context, RenderTickCounter tickCounter)
m_324469_(C_279497_ p_342619_, C_336468_ arg1)
private void
a(bty arg0, fhz 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)
private void
a(fhz 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)
private void
n(fhz arg0, fgf arg1)
renderExperienceLevel(GuiGraphics arg0, DeltaTracker arg1)
method_56136(class_332 arg0, class_9779 arg1)
renderExperienceLevel(DrawContext context, RenderTickCounter tickCounter)
m_324707_(C_279497_ p_344840_, C_336468_ arg1)
private boolean
m()
isExperienceBarVisible()
method_56135()
shouldRenderExperience()
m_322177_()
private void
a(fhz arg0)
renderSelectedItemName(GuiGraphics arg0)
method_1749(class_332 arg0)
renderHeldItemTooltip(DrawContext context)
m_280295_(C_279497_ arg0)
private void
o(fhz arg0, fgf arg1)
renderDemoOverlay(GuiGraphics arg0, DeltaTracker arg1)
method_1766(class_332 arg0, class_9779 arg1)
renderDemoTimer(DrawContext context, RenderTickCounter tickCounter)
m_280339_(C_279497_ p_343325_, C_336468_ arg1)
private void
a(fhz arg0, exy 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
n()
getCameraPlayer()
method_1737()
getCameraPlayer()
m_93092_()
private LivingEntity
o()
getPlayerVehicleWithHealth()
method_1734()
getRiddenEntity()
m_93093_()
private int
a(btn 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
b(fhz arg0)
renderPlayerHealth(GuiGraphics arg0)
method_1760(class_332 arg0)
renderStatusBars(DrawContext context)
m_280173_(C_279497_ arg0)
private static void
a(fhz arg0, cmx arg1, int arg2, int arg3, int arg4, int arg5)
renderArmor(GuiGraphics arg0, Player arg1, int arg2, int arg3, int arg4, int arg5)
method_58478(class_332 arg0, class_1657 arg1, int arg2, int arg3, int arg4, int arg5)
renderArmor(DrawContext context, PlayerEntity player, int arg2, int arg3, int arg4, int x)
m_232354_(C_279497_ p_332897_, C_1141_ p_332999_, int p_330861_, int p_331335_, int p_329919_, int p_329454_)
private void
a(fhz arg0, cmx 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(fhz arg0, fhy$b 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
a(fhz arg0, cmx arg1, int arg2, int arg3)
renderFood(GuiGraphics arg0, Player arg1, int arg2, int arg3)
method_58477(class_332 arg0, class_1657 arg1, int arg2, int arg3)
renderFood(DrawContext context, PlayerEntity player, int top, int right)
m_320133_(C_279497_ p_328268_, C_1141_ p_331606_, int p_330339_, int arg3)
private void
c(fhz arg0)
renderVehicleHealth(GuiGraphics arg0)
method_1741(class_332 arg0)
renderMountHealth(DrawContext context)
m_280250_(C_279497_ arg0)
private void
a(fhz arg0, akr 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
a(fhz 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(bsr arg0)
updateVignetteBrightness(Entity arg0)
method_1731(class_1297 arg0)
updateVignetteDarkness(Entity entity)
m_93020_(C_507_ arg0)
private void
a(fhz arg0, bsr 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
b(fhz 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(fhz arg0, int arg1, int arg2, fgf arg3, cmx arg4, cuq arg5, int arg6)
renderSlot(GuiGraphics arg0, int arg1, int arg2, DeltaTracker arg3, Player arg4, ItemStack arg5, int arg6)
method_1762(class_332 arg0, int arg1, int arg2, class_9779 arg3, class_1657 arg4, class_1799 arg5, int arg6)
renderHotbarItem(DrawContext context, int x, int y, RenderTickCounter tickCounter, PlayerEntity player, ItemStack stack, int seed)
m_280585_(C_279497_ p_283213_, int p_281301_, int p_344149_, C_336468_ 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
p()
tick()
method_1748()
tick()
m_93066_()
private void
q()
tickAutosaveIndicator()
method_39193()
tickAutosaveIndicator()
m_193836_()
public void
a(wz arg0)
setNowPlaying(Component arg0)
method_1732(class_2561 arg0)
setRecordPlayingOverlay(Text description)
m_93055_(C_4996_ arg0)
public void
a(wz 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(wz arg0)
setSubtitle(Component arg0)
method_34002(class_2561 arg0)
setSubtitle(Text subtitle)
m_168711_(C_4996_ arg0)
public void
c(wz 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_()
public void
b(fhz arg0, fgf arg1)
renderSavingIndicator(GuiGraphics arg0, DeltaTracker arg1)
method_39192(class_332 arg0, class_9779 arg1)
renderAutosaveIndicator(DrawContext context, RenderTickCounter tickCounter)
m_280266_(C_279497_ p_344404_, C_336468_ arg1)