Package net.minecraft.client.gui.hud
Class InGameHud
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.hud.InGameHud
Responsible for rendering the HUD elements while the player is in game.
The current instance used by the client can be obtained by MinecraftClient.getInstance().inGameHud
.
- Mappings:
Namespace Name official egc
intermediary net/minecraft/class_329
named net/minecraft/client/gui/hud/InGameHud
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private final BossBarHud
private final ChatHud
private final MinecraftClient
private ItemStack
private final DebugHud
private static final Text
private static final float
private static final int
private static final int
private static final String
private static final float
private static final int
private static final int
private static final float
private boolean
private long
private int
private final ItemRenderer
private float
private long
private int
private final List<ClientChatListener>
private int
private boolean
private final PlayerListHud
private static final Identifier
private static final Identifier
private final Random
private int
private static final Text
private int
private int
private final SpectatorHud
private static final Identifier
private float
private final SubtitlesHud
private int
private int
private int
private int
private int
private static final Identifier
float
private static final int
private static final Identifier
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
private void
drawHeart
(MatrixStack matrices, InGameHud.HeartType type, int x, int y, int v, boolean blinking, boolean halfHeart) private void
drawTextBackground
(MatrixStack matrices, TextRenderer textRenderer, int yOffset, int width, int color) extractSender
(Text message) private PlayerEntity
private int
getHeartCount
(LivingEntity entity) private int
getHeartRows
(int heartCount) private LivingEntity
int
getTicks()
boolean
void
method_44354
(boolean bool) void
onChatMessage
(MessageType type, Text message, MessageSender sender) Handles a chat message.void
onGameMessage
(MessageType type, Text message) Handles a game message.void
render
(MatrixStack matrices, float tickDelta) private void
renderAutosaveIndicator
(MatrixStack matrices) private void
renderCrosshair
(MatrixStack matrices) void
renderDemoTimer
(MatrixStack matrices) void
renderExperienceBar
(MatrixStack matrices, int x) private void
renderHealthBar
(MatrixStack matrices, PlayerEntity player, int x, int y, int lines, int regeneratingHeartIndex, float maxHealth, int lastHealth, int health, int absorption, boolean blinking) void
renderHeldItemTooltip
(MatrixStack matrices) private void
renderHotbar
(float tickDelta, MatrixStack matrices) private void
renderHotbarItem
(int x, int y, float tickDelta, PlayerEntity player, ItemStack stack, int seed) private void
renderMountHealth
(MatrixStack matrices) void
renderMountJumpBar
(MatrixStack matrices, int x) private void
renderOverlay
(Identifier texture, float opacity) private void
renderPortalOverlay
(float nauseaStrength) private void
renderScoreboardSidebar
(MatrixStack matrices, ScoreboardObjective objective) private void
renderSpyglassOverlay
(float scale) private void
renderStatusBars
(MatrixStack matrices) Renders the armor, health, air, and hunger bars.protected void
renderStatusEffectOverlay
(MatrixStack matrices) private void
renderVignetteOverlay
(Entity entity) void
void
void
setOverlayMessage
(Text message, boolean tinted) void
setRecordPlayingOverlay
(Text description) void
setSubtitle
(Text subtitle) void
void
setTitleTicks
(int fadeInTicks, int stayTicks, int fadeOutTicks) private boolean
shouldRenderSpectatorCrosshair
(HitResult hitResult) private void
tick()
void
tick
(boolean paused) private void
private void
updateVignetteDarkness
(Entity entity) Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
-
Field Details
-
VIGNETTE_TEXTURE
- Mappings:
Namespace Name Mixin selector official b
Legc;b:Laaj;
intermediary field_2020
Lnet/minecraft/class_329;field_2020:Lnet/minecraft/class_2960;
named VIGNETTE_TEXTURE
Lnet/minecraft/client/gui/hud/InGameHud;VIGNETTE_TEXTURE:Lnet/minecraft/util/Identifier;
-
WIDGETS_TEXTURE
- Mappings:
Namespace Name Mixin selector official c
Legc;c:Laaj;
intermediary field_2028
Lnet/minecraft/class_329;field_2028:Lnet/minecraft/class_2960;
named WIDGETS_TEXTURE
Lnet/minecraft/client/gui/hud/InGameHud;WIDGETS_TEXTURE:Lnet/minecraft/util/Identifier;
-
PUMPKIN_BLUR
- Mappings:
Namespace Name Mixin selector official d
Legc;d:Laaj;
intermediary field_2019
Lnet/minecraft/class_329;field_2019:Lnet/minecraft/class_2960;
named PUMPKIN_BLUR
Lnet/minecraft/client/gui/hud/InGameHud;PUMPKIN_BLUR:Lnet/minecraft/util/Identifier;
-
SPYGLASS_SCOPE
- Mappings:
Namespace Name Mixin selector official e
Legc;e:Laaj;
intermediary field_27389
Lnet/minecraft/class_329;field_27389:Lnet/minecraft/class_2960;
named SPYGLASS_SCOPE
Lnet/minecraft/client/gui/hud/InGameHud;SPYGLASS_SCOPE:Lnet/minecraft/util/Identifier;
-
POWDER_SNOW_OUTLINE
- Mappings:
Namespace Name Mixin selector official f
Legc;f:Laaj;
intermediary field_27960
Lnet/minecraft/class_329;field_27960:Lnet/minecraft/class_2960;
named POWDER_SNOW_OUTLINE
Lnet/minecraft/client/gui/hud/InGameHud;POWDER_SNOW_OUTLINE:Lnet/minecraft/util/Identifier;
-
DEMO_EXPIRED_MESSAGE
- Mappings:
Namespace Name Mixin selector official j
Legc;j:Lrm;
intermediary field_26527
Lnet/minecraft/class_329;field_26527:Lnet/minecraft/class_2561;
named DEMO_EXPIRED_MESSAGE
Lnet/minecraft/client/gui/hud/InGameHud;DEMO_EXPIRED_MESSAGE:Lnet/minecraft/text/Text;
-
SAVING_LEVEL_TEXT
- Mappings:
Namespace Name Mixin selector official k
Legc;k:Lrm;
intermediary field_35430
Lnet/minecraft/class_329;field_35430:Lnet/minecraft/class_2561;
named SAVING_LEVEL_TEXT
Lnet/minecraft/client/gui/hud/InGameHud;SAVING_LEVEL_TEXT:Lnet/minecraft/text/Text;
-
WHITE
private static final int WHITE- See Also:
- Mappings:
Namespace Name Mixin selector official l
Legc;l:I
intermediary field_32167
Lnet/minecraft/class_329;field_32167:I
named WHITE
Lnet/minecraft/client/gui/hud/InGameHud;WHITE:I
-
field_32168
private static final float field_32168- See Also:
- Mappings:
Namespace Name Mixin selector official m
Legc;m:F
intermediary field_32168
Lnet/minecraft/class_329;field_32168:F
named field_32168
Lnet/minecraft/client/gui/hud/InGameHud;field_32168:F
-
field_32169
private static final int field_32169- See Also:
- Mappings:
Namespace Name Mixin selector official n
Legc;n:I
intermediary field_32169
Lnet/minecraft/class_329;field_32169:I
named field_32169
Lnet/minecraft/client/gui/hud/InGameHud;field_32169:I
-
field_32170
private static final int field_32170- See Also:
- Mappings:
Namespace Name Mixin selector official o
Legc;o:I
intermediary field_32170
Lnet/minecraft/class_329;field_32170:I
named field_32170
Lnet/minecraft/client/gui/hud/InGameHud;field_32170:I
-
field_32171
- See Also:
- Mappings:
Namespace Name Mixin selector official p
Legc;p:Ljava/lang/String;
intermediary field_32171
Lnet/minecraft/class_329;field_32171:Ljava/lang/String;
named field_32171
Lnet/minecraft/client/gui/hud/InGameHud;field_32171:Ljava/lang/String;
-
field_32172
private static final float field_32172- See Also:
- Mappings:
Namespace Name Mixin selector official q
Legc;q:F
intermediary field_32172
Lnet/minecraft/class_329;field_32172:F
named field_32172
Lnet/minecraft/client/gui/hud/InGameHud;field_32172:F
-
field_33942
private static final int field_33942- See Also:
- Mappings:
Namespace Name Mixin selector official r
Legc;r:I
intermediary field_33942
Lnet/minecraft/class_329;field_33942:I
named field_33942
Lnet/minecraft/client/gui/hud/InGameHud;field_33942:I
-
field_33943
private static final int field_33943- See Also:
- Mappings:
Namespace Name Mixin selector official s
Legc;s:I
intermediary field_33943
Lnet/minecraft/class_329;field_33943:I
named field_33943
Lnet/minecraft/client/gui/hud/InGameHud;field_33943:I
-
field_35431
private static final float field_35431- See Also:
- Mappings:
Namespace Name Mixin selector official t
Legc;t:F
intermediary field_35431
Lnet/minecraft/class_329;field_35431:F
named field_35431
Lnet/minecraft/client/gui/hud/InGameHud;field_35431:F
-
random
- Mappings:
Namespace Name Mixin selector official u
Legc;u:Lalu;
intermediary field_2034
Lnet/minecraft/class_329;field_2034:Lnet/minecraft/class_5819;
named random
Lnet/minecraft/client/gui/hud/InGameHud;random:Lnet/minecraft/util/math/random/Random;
-
client
- Mappings:
Namespace Name Mixin selector official v
Legc;v:Leev;
intermediary field_2035
Lnet/minecraft/class_329;field_2035:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/gui/hud/InGameHud;client:Lnet/minecraft/client/MinecraftClient;
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official w
Legc;w:Lfdl;
intermediary field_2024
Lnet/minecraft/class_329;field_2024:Lnet/minecraft/class_918;
named itemRenderer
Lnet/minecraft/client/gui/hud/InGameHud;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
chatHud
- Mappings:
Namespace Name Mixin selector official x
Legc;x:Legt;
intermediary field_2021
Lnet/minecraft/class_329;field_2021:Lnet/minecraft/class_338;
named chatHud
Lnet/minecraft/client/gui/hud/InGameHud;chatHud:Lnet/minecraft/client/gui/hud/ChatHud;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official y
Legc;y:I
intermediary field_2042
Lnet/minecraft/class_329;field_2042:I
named ticks
Lnet/minecraft/client/gui/hud/InGameHud;ticks:I
-
overlayMessage
- Mappings:
Namespace Name Mixin selector official z
Legc;z:Lrm;
intermediary field_2018
Lnet/minecraft/class_329;field_2018:Lnet/minecraft/class_2561;
named overlayMessage
Lnet/minecraft/client/gui/hud/InGameHud;overlayMessage:Lnet/minecraft/text/Text;
-
overlayRemaining
private int overlayRemaining- Mappings:
Namespace Name Mixin selector official A
Legc;A:I
intermediary field_2041
Lnet/minecraft/class_329;field_2041:I
named overlayRemaining
Lnet/minecraft/client/gui/hud/InGameHud;overlayRemaining:I
-
overlayTinted
private boolean overlayTinted- Mappings:
Namespace Name Mixin selector official B
Legc;B:Z
intermediary field_2038
Lnet/minecraft/class_329;field_2038:Z
named overlayTinted
Lnet/minecraft/client/gui/hud/InGameHud;overlayTinted:Z
-
field_39458
private boolean field_39458- Mappings:
Namespace Name Mixin selector official C
Legc;C:Z
intermediary field_39458
Lnet/minecraft/class_329;field_39458:Z
named field_39458
Lnet/minecraft/client/gui/hud/InGameHud;field_39458:Z
-
vignetteDarkness
public float vignetteDarkness- Mappings:
Namespace Name Mixin selector official a
Legc;a:F
intermediary field_2013
Lnet/minecraft/class_329;field_2013:F
named vignetteDarkness
Lnet/minecraft/client/gui/hud/InGameHud;vignetteDarkness:F
-
heldItemTooltipFade
private int heldItemTooltipFade- Mappings:
Namespace Name Mixin selector official D
Legc;D:I
intermediary field_2040
Lnet/minecraft/class_329;field_2040:I
named heldItemTooltipFade
Lnet/minecraft/client/gui/hud/InGameHud;heldItemTooltipFade:I
-
currentStack
- Mappings:
Namespace Name Mixin selector official E
Legc;E:Lcaa;
intermediary field_2031
Lnet/minecraft/class_329;field_2031:Lnet/minecraft/class_1799;
named currentStack
Lnet/minecraft/client/gui/hud/InGameHud;currentStack:Lnet/minecraft/item/ItemStack;
-
debugHud
- Mappings:
Namespace Name Mixin selector official F
Legc;F:Legz;
intermediary field_2026
Lnet/minecraft/class_329;field_2026:Lnet/minecraft/class_340;
named debugHud
Lnet/minecraft/client/gui/hud/InGameHud;debugHud:Lnet/minecraft/client/gui/hud/DebugHud;
-
subtitlesHud
- Mappings:
Namespace Name Mixin selector official G
Legc;G:Lehk;
intermediary field_2027
Lnet/minecraft/class_329;field_2027:Lnet/minecraft/class_359;
named subtitlesHud
Lnet/minecraft/client/gui/hud/InGameHud;subtitlesHud:Lnet/minecraft/client/gui/hud/SubtitlesHud;
-
spectatorHud
- Mappings:
Namespace Name Mixin selector official H
Legc;H:Leht;
intermediary field_2025
Lnet/minecraft/class_329;field_2025:Lnet/minecraft/class_365;
named spectatorHud
Lnet/minecraft/client/gui/hud/InGameHud;spectatorHud:Lnet/minecraft/client/gui/hud/SpectatorHud;
-
playerListHud
- Mappings:
Namespace Name Mixin selector official I
Legc;I:Lehi;
intermediary field_2015
Lnet/minecraft/class_329;field_2015:Lnet/minecraft/class_355;
named playerListHud
Lnet/minecraft/client/gui/hud/InGameHud;playerListHud:Lnet/minecraft/client/gui/hud/PlayerListHud;
-
bossBarHud
- Mappings:
Namespace Name Mixin selector official J
Legc;J:Legr;
intermediary field_2030
Lnet/minecraft/class_329;field_2030:Lnet/minecraft/class_337;
named bossBarHud
Lnet/minecraft/client/gui/hud/InGameHud;bossBarHud:Lnet/minecraft/client/gui/hud/BossBarHud;
-
titleRemainTicks
private int titleRemainTicks- Mappings:
Namespace Name Mixin selector official K
Legc;K:I
intermediary field_2023
Lnet/minecraft/class_329;field_2023:I
named titleRemainTicks
Lnet/minecraft/client/gui/hud/InGameHud;titleRemainTicks:I
-
title
- Mappings:
Namespace Name Mixin selector official L
Legc;L:Lrm;
intermediary field_2016
Lnet/minecraft/class_329;field_2016:Lnet/minecraft/class_2561;
named title
Lnet/minecraft/client/gui/hud/InGameHud;title:Lnet/minecraft/text/Text;
-
subtitle
- Mappings:
Namespace Name Mixin selector official M
Legc;M:Lrm;
intermediary field_2039
Lnet/minecraft/class_329;field_2039:Lnet/minecraft/class_2561;
named subtitle
Lnet/minecraft/client/gui/hud/InGameHud;subtitle:Lnet/minecraft/text/Text;
-
titleFadeInTicks
private int titleFadeInTicks- Mappings:
Namespace Name Mixin selector official N
Legc;N:I
intermediary field_2037
Lnet/minecraft/class_329;field_2037:I
named titleFadeInTicks
Lnet/minecraft/client/gui/hud/InGameHud;titleFadeInTicks:I
-
titleStayTicks
private int titleStayTicks- Mappings:
Namespace Name Mixin selector official O
Legc;O:I
intermediary field_2017
Lnet/minecraft/class_329;field_2017:I
named titleStayTicks
Lnet/minecraft/client/gui/hud/InGameHud;titleStayTicks:I
-
titleFadeOutTicks
private int titleFadeOutTicks- Mappings:
Namespace Name Mixin selector official P
Legc;P:I
intermediary field_2036
Lnet/minecraft/class_329;field_2036:I
named titleFadeOutTicks
Lnet/minecraft/client/gui/hud/InGameHud;titleFadeOutTicks:I
-
lastHealthValue
private int lastHealthValue- Mappings:
Namespace Name Mixin selector official Q
Legc;Q:I
intermediary field_2014
Lnet/minecraft/class_329;field_2014:I
named lastHealthValue
Lnet/minecraft/client/gui/hud/InGameHud;lastHealthValue:I
-
renderHealthValue
private int renderHealthValue- Mappings:
Namespace Name Mixin selector official R
Legc;R:I
intermediary field_2033
Lnet/minecraft/class_329;field_2033:I
named renderHealthValue
Lnet/minecraft/client/gui/hud/InGameHud;renderHealthValue:I
-
lastHealthCheckTime
private long lastHealthCheckTime- Mappings:
Namespace Name Mixin selector official S
Legc;S:J
intermediary field_2012
Lnet/minecraft/class_329;field_2012:J
named lastHealthCheckTime
Lnet/minecraft/client/gui/hud/InGameHud;lastHealthCheckTime:J
-
heartJumpEndTick
private long heartJumpEndTick- Mappings:
Namespace Name Mixin selector official T
Legc;T:J
intermediary field_2032
Lnet/minecraft/class_329;field_2032:J
named heartJumpEndTick
Lnet/minecraft/client/gui/hud/InGameHud;heartJumpEndTick:J
-
scaledWidth
private int scaledWidth- Mappings:
Namespace Name Mixin selector official U
Legc;U:I
intermediary field_2011
Lnet/minecraft/class_329;field_2011:I
named scaledWidth
Lnet/minecraft/client/gui/hud/InGameHud;scaledWidth:I
-
scaledHeight
private int scaledHeight- Mappings:
Namespace Name Mixin selector official V
Legc;V:I
intermediary field_2029
Lnet/minecraft/class_329;field_2029:I
named scaledHeight
Lnet/minecraft/client/gui/hud/InGameHud;scaledHeight:I
-
autosaveIndicatorAlpha
private float autosaveIndicatorAlpha- Mappings:
Namespace Name Mixin selector official W
Legc;W:F
intermediary field_35428
Lnet/minecraft/class_329;field_35428:F
named autosaveIndicatorAlpha
Lnet/minecraft/client/gui/hud/InGameHud;autosaveIndicatorAlpha:F
-
lastAutosaveIndicatorAlpha
private float lastAutosaveIndicatorAlpha- Mappings:
Namespace Name Mixin selector official X
Legc;X:F
intermediary field_35429
Lnet/minecraft/class_329;field_35429:F
named lastAutosaveIndicatorAlpha
Lnet/minecraft/client/gui/hud/InGameHud;lastAutosaveIndicatorAlpha:F
-
listeners
- Mappings:
Namespace Name Mixin selector official Y
Legc;Y:Ljava/util/List;
intermediary field_2022
Lnet/minecraft/class_329;field_2022:Ljava/util/List;
named listeners
Lnet/minecraft/client/gui/hud/InGameHud;listeners:Ljava/util/List;
-
spyglassScale
private float spyglassScale- Mappings:
Namespace Name Mixin selector official Z
Legc;Z:F
intermediary field_27959
Lnet/minecraft/class_329;field_27959:F
named spyglassScale
Lnet/minecraft/client/gui/hud/InGameHud;spyglassScale:F
-
-
Constructor Details
-
InGameHud
- Mappings:
Namespace Name Mixin selector official <init>
Legc;<init>(Leev;Lfdl;)V
intermediary <init>
Lnet/minecraft/class_329;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_918;)V
named <init>
Lnet/minecraft/client/gui/hud/InGameHud;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/render/item/ItemRenderer;)V
-
-
Method Details
-
setDefaultTitleFade
public void setDefaultTitleFade()- Mappings:
Namespace Name Mixin selector official a
Legc;a()V
intermediary method_1742
Lnet/minecraft/class_329;method_1742()V
named setDefaultTitleFade
Lnet/minecraft/client/gui/hud/InGameHud;setDefaultTitleFade()V
-
render
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldzt;F)V
intermediary method_1753
Lnet/minecraft/class_329;method_1753(Lnet/minecraft/class_4587;F)V
named render
Lnet/minecraft/client/gui/hud/InGameHud;render(Lnet/minecraft/client/util/math/MatrixStack;F)V
-
drawTextBackground
private void drawTextBackground(MatrixStack matrices, TextRenderer textRenderer, int yOffset, int width, int color) - Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldzt;Legb;III)V
intermediary method_19346
Lnet/minecraft/class_329;method_19346(Lnet/minecraft/class_4587;Lnet/minecraft/class_327;III)V
named drawTextBackground
Lnet/minecraft/client/gui/hud/InGameHud;drawTextBackground(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/font/TextRenderer;III)V
-
renderCrosshair
- Mappings:
Namespace Name Mixin selector official d
Legc;d(Ldzt;)V
intermediary method_1736
Lnet/minecraft/class_329;method_1736(Lnet/minecraft/class_4587;)V
named renderCrosshair
Lnet/minecraft/client/gui/hud/InGameHud;renderCrosshair(Lnet/minecraft/client/util/math/MatrixStack;)V
-
shouldRenderSpectatorCrosshair
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldvr;)Z
intermediary method_17534
Lnet/minecraft/class_329;method_17534(Lnet/minecraft/class_239;)Z
named shouldRenderSpectatorCrosshair
Lnet/minecraft/client/gui/hud/InGameHud;shouldRenderSpectatorCrosshair(Lnet/minecraft/util/hit/HitResult;)Z
-
renderStatusEffectOverlay
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldzt;)V
intermediary method_1765
Lnet/minecraft/class_329;method_1765(Lnet/minecraft/class_4587;)V
named renderStatusEffectOverlay
Lnet/minecraft/client/gui/hud/InGameHud;renderStatusEffectOverlay(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderHotbar
- Mappings:
Namespace Name Mixin selector official a
Legc;a(FLdzt;)V
intermediary method_1759
Lnet/minecraft/class_329;method_1759(FLnet/minecraft/class_4587;)V
named renderHotbar
Lnet/minecraft/client/gui/hud/InGameHud;renderHotbar(FLnet/minecraft/client/util/math/MatrixStack;)V
-
renderMountJumpBar
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldzt;I)V
intermediary method_1752
Lnet/minecraft/class_329;method_1752(Lnet/minecraft/class_4587;I)V
named renderMountJumpBar
Lnet/minecraft/client/gui/hud/InGameHud;renderMountJumpBar(Lnet/minecraft/client/util/math/MatrixStack;I)V
-
renderExperienceBar
- Mappings:
Namespace Name Mixin selector official b
Legc;b(Ldzt;I)V
intermediary method_1754
Lnet/minecraft/class_329;method_1754(Lnet/minecraft/class_4587;I)V
named renderExperienceBar
Lnet/minecraft/client/gui/hud/InGameHud;renderExperienceBar(Lnet/minecraft/client/util/math/MatrixStack;I)V
-
renderHeldItemTooltip
- Mappings:
Namespace Name Mixin selector official b
Legc;b(Ldzt;)V
intermediary method_1749
Lnet/minecraft/class_329;method_1749(Lnet/minecraft/class_4587;)V
named renderHeldItemTooltip
Lnet/minecraft/client/gui/hud/InGameHud;renderHeldItemTooltip(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderDemoTimer
- Mappings:
Namespace Name Mixin selector official c
Legc;c(Ldzt;)V
intermediary method_1766
Lnet/minecraft/class_329;method_1766(Lnet/minecraft/class_4587;)V
named renderDemoTimer
Lnet/minecraft/client/gui/hud/InGameHud;renderDemoTimer(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderScoreboardSidebar
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldzt;Ldwo;)V
intermediary method_1757
Lnet/minecraft/class_329;method_1757(Lnet/minecraft/class_4587;Lnet/minecraft/class_266;)V
named renderScoreboardSidebar
Lnet/minecraft/client/gui/hud/InGameHud;renderScoreboardSidebar(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
-
getCameraPlayer
- Mappings:
Namespace Name Mixin selector official m
Legc;m()Lbtf;
intermediary method_1737
Lnet/minecraft/class_329;method_1737()Lnet/minecraft/class_1657;
named getCameraPlayer
Lnet/minecraft/client/gui/hud/InGameHud;getCameraPlayer()Lnet/minecraft/entity/player/PlayerEntity;
-
getRiddenEntity
- Mappings:
Namespace Name Mixin selector official n
Legc;n()Lbbf;
intermediary method_1734
Lnet/minecraft/class_329;method_1734()Lnet/minecraft/class_1309;
named getRiddenEntity
Lnet/minecraft/client/gui/hud/InGameHud;getRiddenEntity()Lnet/minecraft/entity/LivingEntity;
-
getHeartCount
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Lbbf;)I
intermediary method_1744
Lnet/minecraft/class_329;method_1744(Lnet/minecraft/class_1309;)I
named getHeartCount
Lnet/minecraft/client/gui/hud/InGameHud;getHeartCount(Lnet/minecraft/entity/LivingEntity;)I
-
getHeartRows
private int getHeartRows(int heartCount) - Mappings:
Namespace Name Mixin selector official a
Legc;a(I)I
intermediary method_1733
Lnet/minecraft/class_329;method_1733(I)I
named getHeartRows
Lnet/minecraft/client/gui/hud/InGameHud;getHeartRows(I)I
-
renderStatusBars
Renders the armor, health, air, and hunger bars.- Mappings:
Namespace Name Mixin selector official e
Legc;e(Ldzt;)V
intermediary method_1760
Lnet/minecraft/class_329;method_1760(Lnet/minecraft/class_4587;)V
named renderStatusBars
Lnet/minecraft/client/gui/hud/InGameHud;renderStatusBars(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderHealthBar
private void renderHealthBar(MatrixStack matrices, PlayerEntity player, int x, int y, int lines, int regeneratingHeartIndex, float maxHealth, int lastHealth, int health, int absorption, boolean blinking) - Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldzt;Lbtf;IIIIFIIIZ)V
intermediary method_37298
Lnet/minecraft/class_329;method_37298(Lnet/minecraft/class_4587;Lnet/minecraft/class_1657;IIIIFIIIZ)V
named renderHealthBar
Lnet/minecraft/client/gui/hud/InGameHud;renderHealthBar(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/entity/player/PlayerEntity;IIIIFIIIZ)V
-
drawHeart
private void drawHeart(MatrixStack matrices, InGameHud.HeartType type, int x, int y, int v, boolean blinking, boolean halfHeart) - Mappings:
Namespace Name Mixin selector official a
Legc;a(Ldzt;Legc$a;IIIZZ)V
intermediary method_37299
Lnet/minecraft/class_329;method_37299(Lnet/minecraft/class_4587;Lnet/minecraft/class_329$class_6411;IIIZZ)V
named drawHeart
Lnet/minecraft/client/gui/hud/InGameHud;drawHeart(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/hud/InGameHud$HeartType;IIIZZ)V
-
renderMountHealth
- Mappings:
Namespace Name Mixin selector official f
Legc;f(Ldzt;)V
intermediary method_1741
Lnet/minecraft/class_329;method_1741(Lnet/minecraft/class_4587;)V
named renderMountHealth
Lnet/minecraft/client/gui/hud/InGameHud;renderMountHealth(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderOverlay
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Laaj;F)V
intermediary method_31977
Lnet/minecraft/class_329;method_31977(Lnet/minecraft/class_2960;F)V
named renderOverlay
Lnet/minecraft/client/gui/hud/InGameHud;renderOverlay(Lnet/minecraft/util/Identifier;F)V
-
renderSpyglassOverlay
private void renderSpyglassOverlay(float scale) - Mappings:
Namespace Name Mixin selector official a
Legc;a(F)V
intermediary method_32598
Lnet/minecraft/class_329;method_32598(F)V
named renderSpyglassOverlay
Lnet/minecraft/client/gui/hud/InGameHud;renderSpyglassOverlay(F)V
-
updateVignetteDarkness
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Lbaq;)V
intermediary method_1731
Lnet/minecraft/class_329;method_1731(Lnet/minecraft/class_1297;)V
named updateVignetteDarkness
Lnet/minecraft/client/gui/hud/InGameHud;updateVignetteDarkness(Lnet/minecraft/entity/Entity;)V
-
renderVignetteOverlay
- Mappings:
Namespace Name Mixin selector official b
Legc;b(Lbaq;)V
intermediary method_1735
Lnet/minecraft/class_329;method_1735(Lnet/minecraft/class_1297;)V
named renderVignetteOverlay
Lnet/minecraft/client/gui/hud/InGameHud;renderVignetteOverlay(Lnet/minecraft/entity/Entity;)V
-
renderPortalOverlay
private void renderPortalOverlay(float nauseaStrength) - Mappings:
Namespace Name Mixin selector official b
Legc;b(F)V
intermediary method_1746
Lnet/minecraft/class_329;method_1746(F)V
named renderPortalOverlay
Lnet/minecraft/client/gui/hud/InGameHud;renderPortalOverlay(F)V
-
renderHotbarItem
private void renderHotbarItem(int x, int y, float tickDelta, PlayerEntity player, ItemStack stack, int seed) - Mappings:
Namespace Name Mixin selector official a
Legc;a(IIFLbtf;Lcaa;I)V
intermediary method_1762
Lnet/minecraft/class_329;method_1762(IIFLnet/minecraft/class_1657;Lnet/minecraft/class_1799;I)V
named renderHotbarItem
Lnet/minecraft/client/gui/hud/InGameHud;renderHotbarItem(IIFLnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;I)V
-
tick
public void tick(boolean paused) - Mappings:
Namespace Name Mixin selector official a
Legc;a(Z)V
intermediary method_39191
Lnet/minecraft/class_329;method_39191(Z)V
named tick
Lnet/minecraft/client/gui/hud/InGameHud;tick(Z)V
-
tick
private void tick()- Mappings:
Namespace Name Mixin selector official o
Legc;o()V
intermediary method_1748
Lnet/minecraft/class_329;method_1748()V
named tick
Lnet/minecraft/client/gui/hud/InGameHud;tick()V
-
tickAutosaveIndicator
private void tickAutosaveIndicator()- Mappings:
Namespace Name Mixin selector official p
Legc;p()V
intermediary method_39193
Lnet/minecraft/class_329;method_39193()V
named tickAutosaveIndicator
Lnet/minecraft/client/gui/hud/InGameHud;tickAutosaveIndicator()V
-
setRecordPlayingOverlay
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Lrm;)V
intermediary method_1732
Lnet/minecraft/class_329;method_1732(Lnet/minecraft/class_2561;)V
named setRecordPlayingOverlay
Lnet/minecraft/client/gui/hud/InGameHud;setRecordPlayingOverlay(Lnet/minecraft/text/Text;)V
-
setOverlayMessage
- Mappings:
Namespace Name Mixin selector official a
Legc;a(Lrm;Z)V
intermediary method_1758
Lnet/minecraft/class_329;method_1758(Lnet/minecraft/class_2561;Z)V
named setOverlayMessage
Lnet/minecraft/client/gui/hud/InGameHud;setOverlayMessage(Lnet/minecraft/text/Text;Z)V
-
method_44354
public void method_44354(boolean bool) - Mappings:
Namespace Name Mixin selector official b
Legc;b(Z)V
intermediary method_44354
Lnet/minecraft/class_329;method_44354(Z)V
named method_44354
Lnet/minecraft/client/gui/hud/InGameHud;method_44354(Z)V
-
method_44353
public boolean method_44353()- Mappings:
Namespace Name Mixin selector official b
Legc;b()Z
intermediary method_44353
Lnet/minecraft/class_329;method_44353()Z
named method_44353
Lnet/minecraft/client/gui/hud/InGameHud;method_44353()Z
-
setTitleTicks
public void setTitleTicks(int fadeInTicks, int stayTicks, int fadeOutTicks) - Mappings:
Namespace Name Mixin selector official a
Legc;a(III)V
intermediary method_34001
Lnet/minecraft/class_329;method_34001(III)V
named setTitleTicks
Lnet/minecraft/client/gui/hud/InGameHud;setTitleTicks(III)V
-
setSubtitle
- Mappings:
Namespace Name Mixin selector official b
Legc;b(Lrm;)V
intermediary method_34002
Lnet/minecraft/class_329;method_34002(Lnet/minecraft/class_2561;)V
named setSubtitle
Lnet/minecraft/client/gui/hud/InGameHud;setSubtitle(Lnet/minecraft/text/Text;)V
-
setTitle
- Mappings:
Namespace Name Mixin selector official c
Legc;c(Lrm;)V
intermediary method_34004
Lnet/minecraft/class_329;method_34004(Lnet/minecraft/class_2561;)V
named setTitle
Lnet/minecraft/client/gui/hud/InGameHud;setTitle(Lnet/minecraft/text/Text;)V
-
clearTitle
public void clearTitle()- Mappings:
Namespace Name Mixin selector official c
Legc;c()V
intermediary method_34003
Lnet/minecraft/class_329;method_34003()V
named clearTitle
Lnet/minecraft/client/gui/hud/InGameHud;clearTitle()V
-
extractSender
- Mappings:
Namespace Name Mixin selector official d
Legc;d(Lrm;)Ljava/util/UUID;
intermediary method_31406
Lnet/minecraft/class_329;method_31406(Lnet/minecraft/class_2561;)Ljava/util/UUID;
named extractSender
Lnet/minecraft/client/gui/hud/InGameHud;extractSender(Lnet/minecraft/text/Text;)Ljava/util/UUID;
-
onChatMessage
Handles a chat message.- See Also:
- Implementation Note:
- This method discards the message if the sender is blocked.
Otherwise, it calls
ClientChatListener.onChatMessage(net.minecraft.network.message.MessageType, net.minecraft.text.Text, net.minecraft.network.message.MessageSender)
. - Mappings:
Namespace Name Mixin selector official a
Legc;a(Lrj;Lrm;Lri;)V
intermediary method_43592
Lnet/minecraft/class_329;method_43592(Lnet/minecraft/class_2556;Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)V
named onChatMessage
Lnet/minecraft/client/gui/hud/InGameHud;onChatMessage(Lnet/minecraft/network/message/MessageType;Lnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageSender;)V
-
onGameMessage
Handles a game message.- See Also:
- Implementation Note:
- This method discards the message if the extracted
sender is blocked. Otherwise, it calls
ClientChatListener.onChatMessage(net.minecraft.network.message.MessageType, net.minecraft.text.Text, net.minecraft.network.message.MessageSender)
. - Mappings:
Namespace Name Mixin selector official a
Legc;a(Lrj;Lrm;)V
intermediary method_43591
Lnet/minecraft/class_329;method_43591(Lnet/minecraft/class_2556;Lnet/minecraft/class_2561;)V
named onGameMessage
Lnet/minecraft/client/gui/hud/InGameHud;onGameMessage(Lnet/minecraft/network/message/MessageType;Lnet/minecraft/text/Text;)V
-
getChatHud
- Mappings:
Namespace Name Mixin selector official d
Legc;d()Legt;
intermediary method_1743
Lnet/minecraft/class_329;method_1743()Lnet/minecraft/class_338;
named getChatHud
Lnet/minecraft/client/gui/hud/InGameHud;getChatHud()Lnet/minecraft/client/gui/hud/ChatHud;
-
getTicks
public int getTicks()- Mappings:
Namespace Name Mixin selector official e
Legc;e()I
intermediary method_1738
Lnet/minecraft/class_329;method_1738()I
named getTicks
Lnet/minecraft/client/gui/hud/InGameHud;getTicks()I
-
getTextRenderer
- Mappings:
Namespace Name Mixin selector official f
Legc;f()Legb;
intermediary method_1756
Lnet/minecraft/class_329;method_1756()Lnet/minecraft/class_327;
named getTextRenderer
Lnet/minecraft/client/gui/hud/InGameHud;getTextRenderer()Lnet/minecraft/client/font/TextRenderer;
-
getSpectatorHud
- Mappings:
Namespace Name Mixin selector official g
Legc;g()Leht;
intermediary method_1739
Lnet/minecraft/class_329;method_1739()Lnet/minecraft/class_365;
named getSpectatorHud
Lnet/minecraft/client/gui/hud/InGameHud;getSpectatorHud()Lnet/minecraft/client/gui/hud/SpectatorHud;
-
getPlayerListHud
- Mappings:
Namespace Name Mixin selector official h
Legc;h()Lehi;
intermediary method_1750
Lnet/minecraft/class_329;method_1750()Lnet/minecraft/class_355;
named getPlayerListHud
Lnet/minecraft/client/gui/hud/InGameHud;getPlayerListHud()Lnet/minecraft/client/gui/hud/PlayerListHud;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official i
Legc;i()V
intermediary method_1747
Lnet/minecraft/class_329;method_1747()V
named clear
Lnet/minecraft/client/gui/hud/InGameHud;clear()V
-
getBossBarHud
- Mappings:
Namespace Name Mixin selector official j
Legc;j()Legr;
intermediary method_1740
Lnet/minecraft/class_329;method_1740()Lnet/minecraft/class_337;
named getBossBarHud
Lnet/minecraft/client/gui/hud/InGameHud;getBossBarHud()Lnet/minecraft/client/gui/hud/BossBarHud;
-
resetDebugHudChunk
public void resetDebugHudChunk()- Mappings:
Namespace Name Mixin selector official k
Legc;k()V
intermediary method_1745
Lnet/minecraft/class_329;method_1745()V
named resetDebugHudChunk
Lnet/minecraft/client/gui/hud/InGameHud;resetDebugHudChunk()V
-
renderAutosaveIndicator
- Mappings:
Namespace Name Mixin selector official g
Legc;g(Ldzt;)V
intermediary method_39192
Lnet/minecraft/class_329;method_39192(Lnet/minecraft/class_4587;)V
named renderAutosaveIndicator
Lnet/minecraft/client/gui/hud/InGameHud;renderAutosaveIndicator(Lnet/minecraft/client/util/math/MatrixStack;)V
-