net.minecraft.client.gui

public class Gui

ewt
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 int
N
COLOR_WHITE
field_32167
WHITE
f_168667_
private static final float
O
MIN_CROSSHAIR_ATTACK_SPEED
field_32168
field_32168
f_168668_
private static final int
P
NUM_HEARTS_PER_ROW
field_32169
field_32169
f_168669_
private static final int
Q
LINE_HEIGHT
field_32170
field_32170
f_168670_
private static final String
R
SPACER
field_32171
SCOREBOARD_JOINER
f_168671_
private static final float
S
PORTAL_OVERLAY_ALPHA_MIN
field_32172
field_32172
f_168672_
private static final int
T
HEART_SIZE
field_33942
field_33942
f_168673_
private static final int
U
HEART_SEPARATION
field_33943
field_33943
f_168674_
private static final float
V
AUTOSAVE_FADE_SPEED_FACTOR
field_35431
field_35431
f_193831_
private final RandomSource
W
random
field_2034
random
f_92985_
private final Minecraft
X
minecraft
field_2035
client
f_92986_
private final ItemRenderer
Y
itemRenderer
field_2024
itemRenderer
f_92987_
private final ChatComponent
Z
chat
field_2021
chatHud
f_92988_
private int
aa
tickCount
field_2042
ticks
f_92989_
private Component
ab
overlayMessageString
field_2018
overlayMessage
f_92990_
private int
ac
overlayMessageTime
field_2041
overlayRemaining
f_92991_
private boolean
ad
animateOverlayMessageColor
field_2038
overlayTinted
f_92992_
private boolean
ae
chatDisabledByPlayerShown
field_39458
canShowChatDisabledScreen
f_238167_
public float
a
vignetteBrightness
field_2013
vignetteDarkness
f_92980_
private int
af
toolHighlightTimer
field_2040
heldItemTooltipFade
f_92993_
private ItemStack
ag
lastToolHighlight
field_2031
currentStack
f_92994_
private final DebugScreenOverlay
ah
debugOverlay
field_2026
debugHud
f_291320_
private final SubtitleOverlay
ai
subtitleOverlay
field_2027
subtitlesHud
f_92996_
private final SpectatorGui
aj
spectatorGui
field_2025
spectatorHud
f_92997_
private final PlayerTabOverlay
ak
tabList
field_2015
playerListHud
f_92998_
private final BossHealthOverlay
al
bossOverlay
field_2030
bossBarHud
f_92999_
private int
am
titleTime
field_2023
titleRemainTicks
f_93000_
private Component
an
title
field_2016
title
f_93001_
private Component
ao
subtitle
field_2039
subtitle
f_93002_
private int
ap
titleFadeInTime
field_2037
titleFadeInTicks
f_92970_
private int
aq
titleStayTime
field_2017
titleStayTicks
f_92971_
private int
ar
titleFadeOutTime
field_2036
titleFadeOutTicks
f_92972_
private int
as
lastHealth
field_2014
lastHealthValue
f_92973_
private int
at
displayHealth
field_2033
renderHealthValue
f_92974_
private long
au
lastHealthTime
field_2012
lastHealthCheckTime
f_92975_
private long
av
healthBlinkTime
field_2032
heartJumpEndTick
f_92976_
private int
aw
screenWidth
field_2011
scaledWidth
f_92977_
private int
ax
screenHeight
field_2029
scaledHeight
f_92978_
private float
ay
autosaveIndicatorValue
field_35428
autosaveIndicatorAlpha
f_193828_
private float
az
lastAutosaveIndicatorValue
field_35429
lastAutosaveIndicatorAlpha
f_193829_
private float
aA
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(ewu 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(ewu arg0, ews 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(ewu arg0)
renderCrosshair(GuiGraphics arg0)
method_1736(class_332 arg0)
renderCrosshair(DrawContext context)
m_280130_(C_279497_ arg0)
private boolean
a(elr arg0)
canRenderCrosshairForSpectator(HitResult arg0)
method_17534(class_239 arg0)
shouldRenderSpectatorCrosshair(HitResult hitResult)
m_93024_(C_3043_ arg0)
protected void
a(ewu arg0)
renderEffects(GuiGraphics arg0)
method_1765(class_332 arg0)
renderStatusEffectOverlay(DrawContext context)
m_280523_(C_279497_ arg0)
private void
a(float arg0, ewu 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(bmw arg0, ewu 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(ewu 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(ewu arg0)
renderSelectedItemName(GuiGraphics arg0)
method_1749(class_332 arg0)
renderHeldItemTooltip(DrawContext context)
m_280295_(C_279497_ arg0)
public void
c(ewu arg0)
renderDemoOverlay(GuiGraphics arg0)
method_1766(class_332 arg0)
renderDemoTimer(DrawContext context)
m_280339_(C_279497_ arg0)
private void
a(ewu arg0, emp 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(bml 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(ewu arg0)
renderPlayerHealth(GuiGraphics arg0)
method_1760(class_332 arg0)
renderStatusBars(DrawContext context)
m_280173_(C_279497_ arg0)
private void
a(ewu arg0, cfi 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(ewu arg0, ewt$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
f(ewu arg0)
renderVehicleHealth(GuiGraphics arg0)
method_1741(class_332 arg0)
renderMountHealth(DrawContext context)
m_280250_(C_279497_ arg0)
private void
a(ewu arg0, ahg 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(ewu 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(blv arg0)
updateVignetteBrightness(Entity arg0)
method_1731(class_1297 arg0)
updateVignetteDarkness(Entity entity)
m_93020_(C_507_ arg0)
private void
a(ewu arg0, blv 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(ewu 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(ewu arg0, int arg1, int arg2, float arg3, cfi arg4, cmy 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(vf arg0)
setNowPlaying(Component arg0)
method_1732(class_2561 arg0)
setRecordPlayingOverlay(Text description)
m_93055_(C_4996_ arg0)
public void
a(vf 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(vf arg0)
setSubtitle(Component arg0)
method_34002(class_2561 arg0)
setSubtitle(Text subtitle)
m_168711_(C_4996_ arg0)
public void
c(vf 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(ewu arg0)
renderSavingIndicator(GuiGraphics arg0)
method_39192(class_332 arg0)
renderAutosaveIndicator(DrawContext context)
m_280266_(C_279497_ arg0)