Package net.minecraft.client.gui.hud
Class InGameHud
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.hud.InGameHud
@Environment(CLIENT) public class InGameHud extends DrawableHelper
- Mappings:
Namespace Name official avointermediary net/minecraft/class_680named net/minecraft/client/gui/hud/InGameHud
-
Field Summary
Fields Modifier and Type Field Description private ChatHudchatHudprivate MinecraftClientclientprivate DebugMenuHuddebugHudprivate longheartJumpEndTickprivate ItemStackheldItemprivate intheldItemTooltipFadeprivate ItemRendereritemRendererprivate longlastHealthCheckTimeprivate intlastHealthValueprivate StringoverlayMessageprivate intoverlayRemainingprivate booleanoverlayTintedprivate PlayerListHudplayerListHudprivate static IdentifierPUMPKIN_BLURprivate Randomrandomprivate intrenderHealthValueprivate SpectatorHudspectatorHudprivate StreamIndicatorHudstreamIndicatorHudprivate Stringsubtitleprivate intticksprivate Stringtitleprivate inttitleFadeInTicksprivate inttitleFadeOutTicksprivate inttitleRemainTicksprivate inttitleTotalTicksprivate static IdentifierVIGNETTEfloatvignetteDarknessprivate static IdentifierWIDGETSFields inherited from class net.minecraft.client.gui.DrawableHelper
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors Constructor Description InGameHud(MinecraftClient client) -
Method Summary
Modifier and Type Method Description ChatHudgetChatHud()TextRenderergetFontRenderer()PlayerListHudgetPlayerListWidget()SpectatorHudgetSpectatorHud()intgetTicks()private voidmethod_2418(int int2, int int3, int int4, float float2, PlayerEntity playerEntity)protected voidmethod_2421(Window window, float tickDelta)protected booleanmethod_2427()voidmethod_2432(Window wiindow)private voidmethod_2441()voidrender(float tickDelta)voidrenderDemoTime(Window window)voidrenderExperienceBar(Window window, int int2)voidrenderHeldItemName(Window window)voidrenderHorseHealth(Window window, int int2)private voidrenderNausea(float amplifier, Window window)private voidrenderPumpkinBlur(Window window)private voidrenderScoreboardObjective(ScoreboardObjective objective, Window window)private voidrenderStatusBars(Window window)private voidrenderVignetteOverlay(float tickDelta, Window window)voidresetDebugHudChunk()voidsetDefaultTitleFade()voidsetOverlayMessage(String message, boolean tinted)voidsetOverlayMessage(Text text, boolean tinted)voidsetRecordPlayingOverlay(String name)voidsetTitles(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_2844Lnet/minecraft/class_680;field_2844:Lnet/minecraft/class_1605;named VIGNETTELnet/minecraft/client/gui/hud/InGameHud;VIGNETTE:Lnet/minecraft/util/Identifier;
-
WIDGETS
- Mappings:
Namespace Name Mixin selector official gLavo;g:Ljy;intermediary field_2845Lnet/minecraft/class_680;field_2845:Lnet/minecraft/class_1605;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_2846Lnet/minecraft/class_680;field_2846:Lnet/minecraft/class_1605;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_2847Lnet/minecraft/class_680;field_2847: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_2848Lnet/minecraft/class_680;field_2848:Lnet/minecraft/class_669;named clientLnet/minecraft/client/gui/hud/InGameHud;client:Lnet/minecraft/client/MinecraftClient;
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official kLavo;k:Lbjh;intermediary field_2849Lnet/minecraft/class_680;field_2849:Lnet/minecraft/class_1150;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_2850Lnet/minecraft/class_680;field_2850:Lnet/minecraft/class_686;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_2851Lnet/minecraft/class_680;field_2851:Lnet/minecraft/class_715;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_2852Lnet/minecraft/class_680;field_2852:Inamed ticksLnet/minecraft/client/gui/hud/InGameHud;ticks:I
-
overlayMessage
- Mappings:
Namespace Name Mixin selector official oLavo;o:Ljava/lang/String;intermediary field_2853Lnet/minecraft/class_680;field_2853: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_2854Lnet/minecraft/class_680;field_2854:Inamed overlayRemainingLnet/minecraft/client/gui/hud/InGameHud;overlayRemaining:I
-
overlayTinted
private boolean overlayTinted- Mappings:
Namespace Name Mixin selector official qLavo;q:Zintermediary field_2855Lnet/minecraft/class_680;field_2855:Znamed overlayTintedLnet/minecraft/client/gui/hud/InGameHud;overlayTinted:Z
-
vignetteDarkness
public float vignetteDarkness- Mappings:
Namespace Name Mixin selector official aLavo;a:Fintermediary field_2843Lnet/minecraft/class_680;field_2843:Fnamed vignetteDarknessLnet/minecraft/client/gui/hud/InGameHud;vignetteDarkness:F
-
heldItemTooltipFade
private int heldItemTooltipFade- Mappings:
Namespace Name Mixin selector official rLavo;r:Iintermediary field_2856Lnet/minecraft/class_680;field_2856:Inamed heldItemTooltipFadeLnet/minecraft/client/gui/hud/InGameHud;heldItemTooltipFade:I
-
heldItem
- Mappings:
Namespace Name Mixin selector official sLavo;s:Lzx;intermediary field_2857Lnet/minecraft/class_680;field_2857:Lnet/minecraft/class_2056;named heldItemLnet/minecraft/client/gui/hud/InGameHud;heldItem:Lnet/minecraft/item/ItemStack;
-
debugHud
- Mappings:
Namespace Name Mixin selector official tLavo;t:Lavv;intermediary field_2858Lnet/minecraft/class_680;field_2858:Lnet/minecraft/class_688;named debugHudLnet/minecraft/client/gui/hud/InGameHud;debugHud:Lnet/minecraft/client/gui/hud/DebugMenuHud;
-
spectatorHud
- Mappings:
Namespace Name Mixin selector official uLavo;u:Lawm;intermediary field_2859Lnet/minecraft/class_680;field_2859:Lnet/minecraft/class_716;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_2860Lnet/minecraft/class_680;field_2860:Lnet/minecraft/class_711;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_2861Lnet/minecraft/class_680;field_2861:Inamed titleTotalTicksLnet/minecraft/client/gui/hud/InGameHud;titleTotalTicks:I
-
subtitle
- Mappings:
Namespace Name Mixin selector official xLavo;x:Ljava/lang/String;intermediary field_2862Lnet/minecraft/class_680;field_2862: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_2863Lnet/minecraft/class_680;field_2863: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_2864Lnet/minecraft/class_680;field_2864:Inamed titleFadeInTicksLnet/minecraft/client/gui/hud/InGameHud;titleFadeInTicks:I
-
titleRemainTicks
private int titleRemainTicks- Mappings:
Namespace Name Mixin selector official ALavo;A:Iintermediary field_2837Lnet/minecraft/class_680;field_2837:Inamed titleRemainTicksLnet/minecraft/client/gui/hud/InGameHud;titleRemainTicks:I
-
titleFadeOutTicks
private int titleFadeOutTicks- Mappings:
Namespace Name Mixin selector official BLavo;B:Iintermediary field_2838Lnet/minecraft/class_680;field_2838:Inamed titleFadeOutTicksLnet/minecraft/client/gui/hud/InGameHud;titleFadeOutTicks:I
-
renderHealthValue
private int renderHealthValue- Mappings:
Namespace Name Mixin selector official CLavo;C:Iintermediary field_2839Lnet/minecraft/class_680;field_2839:Inamed renderHealthValueLnet/minecraft/client/gui/hud/InGameHud;renderHealthValue:I
-
lastHealthValue
private int lastHealthValue- Mappings:
Namespace Name Mixin selector official DLavo;D:Iintermediary field_2840Lnet/minecraft/class_680;field_2840:Inamed lastHealthValueLnet/minecraft/client/gui/hud/InGameHud;lastHealthValue:I
-
lastHealthCheckTime
private long lastHealthCheckTime- Mappings:
Namespace Name Mixin selector official ELavo;E:Jintermediary field_2841Lnet/minecraft/class_680;field_2841:Jnamed lastHealthCheckTimeLnet/minecraft/client/gui/hud/InGameHud;lastHealthCheckTime:J
-
heartJumpEndTick
private long heartJumpEndTick- Mappings:
Namespace Name Mixin selector official FLavo;F:Jintermediary field_2842Lnet/minecraft/class_680;field_2842: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_680;<init>(Lnet/minecraft/class_669;)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_2415Lnet/minecraft/class_680;method_2415()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_2416Lnet/minecraft/class_680;method_2416(F)Vnamed renderLnet/minecraft/client/gui/hud/InGameHud;render(F)V
-
method_2421
- Mappings:
Namespace Name Mixin selector official aLavo;a(Lavr;F)Vintermediary method_2421Lnet/minecraft/class_680;method_2421(Lnet/minecraft/class_684;F)Vnamed method_2421Lnet/minecraft/client/gui/hud/InGameHud;method_2421(Lnet/minecraft/client/util/Window;F)V
-
renderHorseHealth
- Mappings:
Namespace Name Mixin selector official aLavo;a(Lavr;I)Vintermediary method_2422Lnet/minecraft/class_680;method_2422(Lnet/minecraft/class_684;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_2430Lnet/minecraft/class_680;method_2430(Lnet/minecraft/class_684;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_2420Lnet/minecraft/class_680;method_2420(Lnet/minecraft/class_684;)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_2429Lnet/minecraft/class_680;method_2429(Lnet/minecraft/class_684;)Vnamed renderDemoTimeLnet/minecraft/client/gui/hud/InGameHud;renderDemoTime(Lnet/minecraft/client/util/Window;)V
-
method_2427
protected boolean method_2427()- Mappings:
Namespace Name Mixin selector official bLavo;b()Zintermediary method_2427Lnet/minecraft/class_680;method_2427()Znamed method_2427Lnet/minecraft/client/gui/hud/InGameHud;method_2427()Z
-
method_2432
- Mappings:
Namespace Name Mixin selector official cLavo;c(Lavr;)Vintermediary method_2432Lnet/minecraft/class_680;method_2432(Lnet/minecraft/class_684;)Vnamed method_2432Lnet/minecraft/client/gui/hud/InGameHud;method_2432(Lnet/minecraft/client/util/Window;)V
-
renderScoreboardObjective
- Mappings:
Namespace Name Mixin selector official aLavo;a(Lauk;Lavr;)Vintermediary method_2419Lnet/minecraft/class_680;method_2419(Lnet/minecraft/class_650;Lnet/minecraft/class_684;)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_2434Lnet/minecraft/class_680;method_2434(Lnet/minecraft/class_684;)Vnamed renderStatusBarsLnet/minecraft/client/gui/hud/InGameHud;renderStatusBars(Lnet/minecraft/client/util/Window;)V
-
method_2441
private void method_2441()- Mappings:
Namespace Name Mixin selector official jLavo;j()Vintermediary method_2441Lnet/minecraft/class_680;method_2441()Vnamed method_2441Lnet/minecraft/client/gui/hud/InGameHud;method_2441()V
-
renderPumpkinBlur
- Mappings:
Namespace Name Mixin selector official eLavo;e(Lavr;)Vintermediary method_2436Lnet/minecraft/class_680;method_2436(Lnet/minecraft/class_684;)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_2417Lnet/minecraft/class_680;method_2417(FLnet/minecraft/class_684;)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_2428Lnet/minecraft/class_680;method_2428(FLnet/minecraft/class_684;)Vnamed renderNauseaLnet/minecraft/client/gui/hud/InGameHud;renderNausea(FLnet/minecraft/client/util/Window;)V
-
method_2418
- Mappings:
Namespace Name Mixin selector official aLavo;a(IIIFLwn;)Vintermediary method_2418Lnet/minecraft/class_680;method_2418(IIIFLnet/minecraft/class_1963;)Vnamed method_2418Lnet/minecraft/client/gui/hud/InGameHud;method_2418(IIIFLnet/minecraft/entity/player/PlayerEntity;)V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official cLavo;c()Vintermediary method_2431Lnet/minecraft/class_680;method_2431()Vnamed tickLnet/minecraft/client/gui/hud/InGameHud;tick()V
-
setRecordPlayingOverlay
- Mappings:
Namespace Name Mixin selector official aLavo;a(Ljava/lang/String;)Vintermediary method_2424Lnet/minecraft/class_680;method_2424(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_2426Lnet/minecraft/class_680;method_2426(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_2425Lnet/minecraft/class_680;method_2425(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_2423Lnet/minecraft/class_680;method_2423(Lnet/minecraft/class_1444;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_2433Lnet/minecraft/class_680;method_2433()Lnet/minecraft/class_686;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_2435Lnet/minecraft/class_680;method_2435()Inamed getTicksLnet/minecraft/client/gui/hud/InGameHud;getTicks()I
-
getFontRenderer
- Mappings:
Namespace Name Mixin selector official fLavo;f()Lavn;intermediary method_2437Lnet/minecraft/class_680;method_2437()Lnet/minecraft/class_679;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_2438Lnet/minecraft/class_680;method_2438()Lnet/minecraft/class_716;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_2439Lnet/minecraft/class_680;method_2439()Lnet/minecraft/class_711;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_2440Lnet/minecraft/class_680;method_2440()Vnamed resetDebugHudChunkLnet/minecraft/client/gui/hud/InGameHud;resetDebugHudChunk()V
-