Package net.minecraft.client.gui.hud
Class InGameHud
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.hud.InGameHud
- Mappings:
Namespace Name official avointermediary net/minecraft/class_371named net/minecraft/client/gui/hud/InGameHud
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChatHudprivate final MinecraftClientprivate final DebugHudprivate longprivate ItemStackprivate intprivate final ItemRendererprivate longprivate intprivate Stringprivate intprivate booleanprivate final PlayerListHudprivate static final Identifierprivate final Randomprivate intprivate final SpectatorHudprivate final StreamIndicatorHudprivate Stringprivate intprivate Stringprivate intprivate intprivate intprivate intprivate static final Identifierfloatprivate static final IdentifierFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetTicks()private voidmethod_9422(int int2, int int3, int int4, float float2, PlayerEntity playerEntity) protected booleanvoidrender(float tickDelta) private voidvoidrenderDemoTime(Window window) voidrenderExperienceBar(Window window, int int2) voidrenderHeldItemName(Window window) voidrenderHorseHealth(Window window, int int2) protected voidrenderHotbar(Window window, float tickDelta) private voidrenderNausea(float amplifier, Window window) private voidrenderPumpkinBlur(Window window) private voidrenderScoreboardObjective(ScoreboardObjective objective, Window window) private voidrenderStatusBars(Window window) voidrenderStreamIndicator(Window wiindow) private voidrenderVignetteOverlay(float tickDelta, Window window) voidvoidvoidsetOverlayMessage(String message, boolean tinted) voidsetOverlayMessage(Text text, boolean tinted) voidvoidsetTitles(String subtitle, String title, int titleFadeInTicks, int titleRemainTicks, int titleFadeOutTicks) voidtick()Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
VIGNETTE
- Mappings:
Namespace Name Mixin selector official fLavo;f:Ljy;intermediary field_6287Lnet/minecraft/class_371;field_6287:Lnet/minecraft/class_1653;named VIGNETTELnet/minecraft/client/gui/hud/InGameHud;VIGNETTE:Lnet/minecraft/util/Identifier;
-
WIDGETS
- Mappings:
Namespace Name Mixin selector official gLavo;g:Ljy;intermediary field_6288Lnet/minecraft/class_371;field_6288:Lnet/minecraft/class_1653;named WIDGETSLnet/minecraft/client/gui/hud/InGameHud;WIDGETS:Lnet/minecraft/util/Identifier;
-
PUMPKIN_BLUR
- Mappings:
Namespace Name Mixin selector official hLavo;h:Ljy;intermediary field_6289Lnet/minecraft/class_371;field_6289:Lnet/minecraft/class_1653;named PUMPKIN_BLURLnet/minecraft/client/gui/hud/InGameHud;PUMPKIN_BLUR:Lnet/minecraft/util/Identifier;
-
random
- Mappings:
Namespace Name Mixin selector official iLavo;i:Ljava/util/Random;intermediary field_1165Lnet/minecraft/class_371;field_1165:Ljava/util/Random;named randomLnet/minecraft/client/gui/hud/InGameHud;random:Ljava/util/Random;
-
client
- Mappings:
Namespace Name Mixin selector official jLavo;j:Lave;intermediary field_1166Lnet/minecraft/class_371;field_1166:Lnet/minecraft/class_1600;named clientLnet/minecraft/client/gui/hud/InGameHud;client:Lnet/minecraft/client/MinecraftClient;
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official kLavo;k:Lbjh;intermediary field_1164Lnet/minecraft/class_371;field_1164:Lnet/minecraft/class_560;named itemRendererLnet/minecraft/client/gui/hud/InGameHud;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
chatHud
- Mappings:
Namespace Name Mixin selector official lLavo;l:Lavt;intermediary field_1167Lnet/minecraft/class_371;field_1167:Lnet/minecraft/class_357;named chatHudLnet/minecraft/client/gui/hud/InGameHud;chatHud:Lnet/minecraft/client/gui/hud/ChatHud;
-
streamIndicatorHud
- Mappings:
Namespace Name Mixin selector official mLavo;m:Lawk;intermediary field_7706Lnet/minecraft/class_371;field_7706:Lnet/minecraft/class_1807;named streamIndicatorHudLnet/minecraft/client/gui/hud/InGameHud;streamIndicatorHud:Lnet/minecraft/client/gui/hud/StreamIndicatorHud;
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official nLavo;n:Iintermediary field_1168Lnet/minecraft/class_371;field_1168:Inamed ticksLnet/minecraft/client/gui/hud/InGameHud;ticks:I
-
overlayMessage
- Mappings:
Namespace Name Mixin selector official oLavo;o:Ljava/lang/String;intermediary field_1169Lnet/minecraft/class_371;field_1169:Ljava/lang/String;named overlayMessageLnet/minecraft/client/gui/hud/InGameHud;overlayMessage:Ljava/lang/String;
-
overlayRemaining
private int overlayRemaining- Mappings:
Namespace Name Mixin selector official pLavo;p:Iintermediary field_1170Lnet/minecraft/class_371;field_1170:Inamed overlayRemainingLnet/minecraft/client/gui/hud/InGameHud;overlayRemaining:I
-
overlayTinted
private boolean overlayTinted- Mappings:
Namespace Name Mixin selector official qLavo;q:Zintermediary field_1171Lnet/minecraft/class_371;field_1171:Znamed overlayTintedLnet/minecraft/client/gui/hud/InGameHud;overlayTinted:Z
-
vignetteDarkness
public float vignetteDarkness- Mappings:
Namespace Name Mixin selector official aLavo;a:Fintermediary field_1163Lnet/minecraft/class_371;field_1163:Fnamed vignetteDarknessLnet/minecraft/client/gui/hud/InGameHud;vignetteDarkness:F
-
heldItemTooltipFade
private int heldItemTooltipFade- Mappings:
Namespace Name Mixin selector official rLavo;r:Iintermediary field_5074Lnet/minecraft/class_371;field_5074:Inamed heldItemTooltipFadeLnet/minecraft/client/gui/hud/InGameHud;heldItemTooltipFade:I
-
heldItem
- Mappings:
Namespace Name Mixin selector official sLavo;s:Lzx;intermediary field_5075Lnet/minecraft/class_371;field_5075:Lnet/minecraft/class_1071;named heldItemLnet/minecraft/client/gui/hud/InGameHud;heldItem:Lnet/minecraft/item/ItemStack;
-
debugHud
- Mappings:
Namespace Name Mixin selector official tLavo;t:Lavv;intermediary field_10344Lnet/minecraft/class_371;field_10344:Lnet/minecraft/class_2294;named debugHudLnet/minecraft/client/gui/hud/InGameHud;debugHud:Lnet/minecraft/client/gui/hud/DebugHud;
-
spectatorHud
- Mappings:
Namespace Name Mixin selector official uLavo;u:Lawm;intermediary field_10345Lnet/minecraft/class_371;field_10345:Lnet/minecraft/class_2310;named spectatorHudLnet/minecraft/client/gui/hud/InGameHud;spectatorHud:Lnet/minecraft/client/gui/hud/SpectatorHud;
-
playerListHud
- Mappings:
Namespace Name Mixin selector official vLavo;v:Lawh;intermediary field_10346Lnet/minecraft/class_371;field_10346:Lnet/minecraft/class_2308;named playerListHudLnet/minecraft/client/gui/hud/InGameHud;playerListHud:Lnet/minecraft/client/gui/hud/PlayerListHud;
-
titleTotalTicks
private int titleTotalTicks- Mappings:
Namespace Name Mixin selector official wLavo;w:Iintermediary field_10347Lnet/minecraft/class_371;field_10347:Inamed titleTotalTicksLnet/minecraft/client/gui/hud/InGameHud;titleTotalTicks:I
-
subtitle
- Mappings:
Namespace Name Mixin selector official xLavo;x:Ljava/lang/String;intermediary field_10348Lnet/minecraft/class_371;field_10348:Ljava/lang/String;named subtitleLnet/minecraft/client/gui/hud/InGameHud;subtitle:Ljava/lang/String;
-
title
- Mappings:
Namespace Name Mixin selector official yLavo;y:Ljava/lang/String;intermediary field_10349Lnet/minecraft/class_371;field_10349:Ljava/lang/String;named titleLnet/minecraft/client/gui/hud/InGameHud;title:Ljava/lang/String;
-
titleFadeInTicks
private int titleFadeInTicks- Mappings:
Namespace Name Mixin selector official zLavo;z:Iintermediary field_10350Lnet/minecraft/class_371;field_10350:Inamed titleFadeInTicksLnet/minecraft/client/gui/hud/InGameHud;titleFadeInTicks:I
-
titleRemainTicks
private int titleRemainTicks- Mappings:
Namespace Name Mixin selector official ALavo;A:Iintermediary field_10338Lnet/minecraft/class_371;field_10338:Inamed titleRemainTicksLnet/minecraft/client/gui/hud/InGameHud;titleRemainTicks:I
-
titleFadeOutTicks
private int titleFadeOutTicks- Mappings:
Namespace Name Mixin selector official BLavo;B:Iintermediary field_10339Lnet/minecraft/class_371;field_10339:Inamed titleFadeOutTicksLnet/minecraft/client/gui/hud/InGameHud;titleFadeOutTicks:I
-
renderHealthValue
private int renderHealthValue- Mappings:
Namespace Name Mixin selector official CLavo;C:Iintermediary field_10340Lnet/minecraft/class_371;field_10340:Inamed renderHealthValueLnet/minecraft/client/gui/hud/InGameHud;renderHealthValue:I
-
lastHealthValue
private int lastHealthValue- Mappings:
Namespace Name Mixin selector official DLavo;D:Iintermediary field_10341Lnet/minecraft/class_371;field_10341:Inamed lastHealthValueLnet/minecraft/client/gui/hud/InGameHud;lastHealthValue:I
-
lastHealthCheckTime
private long lastHealthCheckTime- Mappings:
Namespace Name Mixin selector official ELavo;E:Jintermediary field_10342Lnet/minecraft/class_371;field_10342:Jnamed lastHealthCheckTimeLnet/minecraft/client/gui/hud/InGameHud;lastHealthCheckTime:J
-
heartJumpEndTick
private long heartJumpEndTick- Mappings:
Namespace Name Mixin selector official FLavo;F:Jintermediary field_10343Lnet/minecraft/class_371;field_10343:Jnamed heartJumpEndTickLnet/minecraft/client/gui/hud/InGameHud;heartJumpEndTick:J
-
-
Constructor Details
-
InGameHud
- Mappings:
Namespace Name Mixin selector official <init>Lavo;<init>(Lave;)Vintermediary <init>Lnet/minecraft/class_371;<init>(Lnet/minecraft/class_1600;)Vnamed <init>Lnet/minecraft/client/gui/hud/InGameHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
setDefaultTitleFade
public void setDefaultTitleFade()- Mappings:
Namespace Name Mixin selector official aLavo;a()Vintermediary method_9419Lnet/minecraft/class_371;method_9419()Vnamed setDefaultTitleFadeLnet/minecraft/client/gui/hud/InGameHud;setDefaultTitleFade()V
-
render
public void render(float tickDelta) - Mappings:
Namespace Name Mixin selector official aLavo;a(F)Vintermediary method_9420Lnet/minecraft/class_371;method_9420(F)Vnamed renderLnet/minecraft/client/gui/hud/InGameHud;render(F)V
-
renderHotbar
- Mappings:
Namespace Name Mixin selector official aLavo;a(Lavr;F)Vintermediary method_9425Lnet/minecraft/class_371;method_9425(Lnet/minecraft/class_389;F)Vnamed renderHotbarLnet/minecraft/client/gui/hud/InGameHud;renderHotbar(Lnet/minecraft/client/util/Window;F)V
-
renderHorseHealth
- Mappings:
Namespace Name Mixin selector official aLavo;a(Lavr;I)Vintermediary method_9426Lnet/minecraft/class_371;method_9426(Lnet/minecraft/class_389;I)Vnamed renderHorseHealthLnet/minecraft/client/gui/hud/InGameHud;renderHorseHealth(Lnet/minecraft/client/util/Window;I)V
-
renderExperienceBar
- Mappings:
Namespace Name Mixin selector official bLavo;b(Lavr;I)Vintermediary method_9432Lnet/minecraft/class_371;method_9432(Lnet/minecraft/class_389;I)Vnamed renderExperienceBarLnet/minecraft/client/gui/hud/InGameHud;renderExperienceBar(Lnet/minecraft/client/util/Window;I)V
-
renderHeldItemName
- Mappings:
Namespace Name Mixin selector official aLavo;a(Lavr;)Vintermediary method_9424Lnet/minecraft/class_371;method_9424(Lnet/minecraft/class_389;)Vnamed renderHeldItemNameLnet/minecraft/client/gui/hud/InGameHud;renderHeldItemName(Lnet/minecraft/client/util/Window;)V
-
renderDemoTime
- Mappings:
Namespace Name Mixin selector official bLavo;b(Lavr;)Vintermediary method_9431Lnet/minecraft/class_371;method_9431(Lnet/minecraft/class_389;)Vnamed renderDemoTimeLnet/minecraft/client/gui/hud/InGameHud;renderDemoTime(Lnet/minecraft/client/util/Window;)V
-
method_9429
protected boolean method_9429()- Mappings:
Namespace Name Mixin selector official bLavo;b()Zintermediary method_9429Lnet/minecraft/class_371;method_9429()Znamed method_9429Lnet/minecraft/client/gui/hud/InGameHud;method_9429()Z
-
renderStreamIndicator
- Mappings:
Namespace Name Mixin selector official cLavo;c(Lavr;)Vintermediary method_9433Lnet/minecraft/class_371;method_9433(Lnet/minecraft/class_389;)Vnamed renderStreamIndicatorLnet/minecraft/client/gui/hud/InGameHud;renderStreamIndicator(Lnet/minecraft/client/util/Window;)V
-
renderScoreboardObjective
- Mappings:
Namespace Name Mixin selector official aLavo;a(Lauk;Lavr;)Vintermediary method_9423Lnet/minecraft/class_371;method_9423(Lnet/minecraft/class_1467;Lnet/minecraft/class_389;)Vnamed renderScoreboardObjectiveLnet/minecraft/client/gui/hud/InGameHud;renderScoreboardObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/client/util/Window;)V
-
renderStatusBars
- Mappings:
Namespace Name Mixin selector official dLavo;d(Lavr;)Vintermediary method_9434Lnet/minecraft/class_371;method_9434(Lnet/minecraft/class_389;)Vnamed renderStatusBarsLnet/minecraft/client/gui/hud/InGameHud;renderStatusBars(Lnet/minecraft/client/util/Window;)V
-
renderBossBar
private void renderBossBar()- Mappings:
Namespace Name Mixin selector official jLavo;j()Vintermediary method_986Lnet/minecraft/class_371;method_986()Vnamed renderBossBarLnet/minecraft/client/gui/hud/InGameHud;renderBossBar()V
-
renderPumpkinBlur
- Mappings:
Namespace Name Mixin selector official eLavo;e(Lavr;)Vintermediary method_9435Lnet/minecraft/class_371;method_9435(Lnet/minecraft/class_389;)Vnamed renderPumpkinBlurLnet/minecraft/client/gui/hud/InGameHud;renderPumpkinBlur(Lnet/minecraft/client/util/Window;)V
-
renderVignetteOverlay
- Mappings:
Namespace Name Mixin selector official aLavo;a(FLavr;)Vintermediary method_9421Lnet/minecraft/class_371;method_9421(FLnet/minecraft/class_389;)Vnamed renderVignetteOverlayLnet/minecraft/client/gui/hud/InGameHud;renderVignetteOverlay(FLnet/minecraft/client/util/Window;)V
-
renderNausea
- Mappings:
Namespace Name Mixin selector official bLavo;b(FLavr;)Vintermediary method_9430Lnet/minecraft/class_371;method_9430(FLnet/minecraft/class_389;)Vnamed renderNauseaLnet/minecraft/client/gui/hud/InGameHud;renderNausea(FLnet/minecraft/client/util/Window;)V
-
method_9422
- Mappings:
Namespace Name Mixin selector official aLavo;a(IIIFLwn;)Vintermediary method_9422Lnet/minecraft/class_371;method_9422(IIIFLnet/minecraft/class_988;)Vnamed method_9422Lnet/minecraft/client/gui/hud/InGameHud;method_9422(IIIFLnet/minecraft/entity/player/PlayerEntity;)V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official cLavo;c()Vintermediary method_977Lnet/minecraft/class_371;method_977()Vnamed tickLnet/minecraft/client/gui/hud/InGameHud;tick()V
-
setRecordPlayingOverlay
- Mappings:
Namespace Name Mixin selector official aLavo;a(Ljava/lang/String;)Vintermediary method_982Lnet/minecraft/class_371;method_982(Ljava/lang/String;)Vnamed setRecordPlayingOverlayLnet/minecraft/client/gui/hud/InGameHud;setRecordPlayingOverlay(Ljava/lang/String;)V
-
setOverlayMessage
- Mappings:
Namespace Name Mixin selector official aLavo;a(Ljava/lang/String;Z)Vintermediary method_5588Lnet/minecraft/class_371;method_5588(Ljava/lang/String;Z)Vnamed setOverlayMessageLnet/minecraft/client/gui/hud/InGameHud;setOverlayMessage(Ljava/lang/String;Z)V
-
setTitles
public void setTitles(String subtitle, String title, int titleFadeInTicks, int titleRemainTicks, int titleFadeOutTicks) - Mappings:
Namespace Name Mixin selector official aLavo;a(Ljava/lang/String;Ljava/lang/String;III)Vintermediary method_9428Lnet/minecraft/class_371;method_9428(Ljava/lang/String;Ljava/lang/String;III)Vnamed setTitlesLnet/minecraft/client/gui/hud/InGameHud;setTitles(Ljava/lang/String;Ljava/lang/String;III)V
-
setOverlayMessage
- Mappings:
Namespace Name Mixin selector official aLavo;a(Leu;Z)Vintermediary method_9427Lnet/minecraft/class_371;method_9427(Lnet/minecraft/class_1982;Z)Vnamed setOverlayMessageLnet/minecraft/client/gui/hud/InGameHud;setOverlayMessage(Lnet/minecraft/text/Text;Z)V
-
getChatHud
- Mappings:
Namespace Name Mixin selector official dLavo;d()Lavt;intermediary method_983Lnet/minecraft/class_371;method_983()Lnet/minecraft/class_357;named getChatHudLnet/minecraft/client/gui/hud/InGameHud;getChatHud()Lnet/minecraft/client/gui/hud/ChatHud;
-
getTicks
public int getTicks()- Mappings:
Namespace Name Mixin selector official eLavo;e()Iintermediary method_985Lnet/minecraft/class_371;method_985()Inamed getTicksLnet/minecraft/client/gui/hud/InGameHud;getTicks()I
-
getFontRenderer
- Mappings:
Namespace Name Mixin selector official fLavo;f()Lavn;intermediary method_9436Lnet/minecraft/class_371;method_9436()Lnet/minecraft/class_370;named getFontRendererLnet/minecraft/client/gui/hud/InGameHud;getFontRenderer()Lnet/minecraft/client/font/TextRenderer;
-
getSpectatorHud
- Mappings:
Namespace Name Mixin selector official gLavo;g()Lawm;intermediary method_9437Lnet/minecraft/class_371;method_9437()Lnet/minecraft/class_2310;named getSpectatorHudLnet/minecraft/client/gui/hud/InGameHud;getSpectatorHud()Lnet/minecraft/client/gui/hud/SpectatorHud;
-
getPlayerListWidget
- Mappings:
Namespace Name Mixin selector official hLavo;h()Lawh;intermediary method_9438Lnet/minecraft/class_371;method_9438()Lnet/minecraft/class_2308;named getPlayerListWidgetLnet/minecraft/client/gui/hud/InGameHud;getPlayerListWidget()Lnet/minecraft/client/gui/hud/PlayerListHud;
-
resetDebugHudChunk
public void resetDebugHudChunk()- Mappings:
Namespace Name Mixin selector official iLavo;i()Vintermediary method_9439Lnet/minecraft/class_371;method_9439()Vnamed resetDebugHudChunkLnet/minecraft/client/gui/hud/InGameHud;resetDebugHudChunk()V
-