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 avo
intermediary net/minecraft/class_371
named net/minecraft/client/gui/hud/InGameHud
  • Field Details

    • VIGNETTE

      private static final Identifier VIGNETTE
      Mappings:
      Namespace Name Mixin selector
      official f Lavo;f:Ljy;
      intermediary field_6287 Lnet/minecraft/class_371;field_6287:Lnet/minecraft/class_1653;
      named VIGNETTE Lnet/minecraft/client/gui/hud/InGameHud;VIGNETTE:Lnet/minecraft/util/Identifier;
    • WIDGETS

      private static final Identifier WIDGETS
      Mappings:
      Namespace Name Mixin selector
      official g Lavo;g:Ljy;
      intermediary field_6288 Lnet/minecraft/class_371;field_6288:Lnet/minecraft/class_1653;
      named WIDGETS Lnet/minecraft/client/gui/hud/InGameHud;WIDGETS:Lnet/minecraft/util/Identifier;
    • PUMPKIN_BLUR

      private static final Identifier PUMPKIN_BLUR
      Mappings:
      Namespace Name Mixin selector
      official h Lavo;h:Ljy;
      intermediary field_6289 Lnet/minecraft/class_371;field_6289:Lnet/minecraft/class_1653;
      named PUMPKIN_BLUR Lnet/minecraft/client/gui/hud/InGameHud;PUMPKIN_BLUR:Lnet/minecraft/util/Identifier;
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official i Lavo;i:Ljava/util/Random;
      intermediary field_1165 Lnet/minecraft/class_371;field_1165:Ljava/util/Random;
      named random Lnet/minecraft/client/gui/hud/InGameHud;random:Ljava/util/Random;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official j Lavo;j:Lave;
      intermediary field_1166 Lnet/minecraft/class_371;field_1166:Lnet/minecraft/class_1600;
      named client Lnet/minecraft/client/gui/hud/InGameHud;client:Lnet/minecraft/client/MinecraftClient;
    • itemRenderer

      private final ItemRenderer itemRenderer
      Mappings:
      Namespace Name Mixin selector
      official k Lavo;k:Lbjh;
      intermediary field_1164 Lnet/minecraft/class_371;field_1164:Lnet/minecraft/class_560;
      named itemRenderer Lnet/minecraft/client/gui/hud/InGameHud;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
    • chatHud

      private final ChatHud chatHud
      Mappings:
      Namespace Name Mixin selector
      official l Lavo;l:Lavt;
      intermediary field_1167 Lnet/minecraft/class_371;field_1167:Lnet/minecraft/class_357;
      named chatHud Lnet/minecraft/client/gui/hud/InGameHud;chatHud:Lnet/minecraft/client/gui/hud/ChatHud;
    • streamIndicatorHud

      private final StreamIndicatorHud streamIndicatorHud
      Mappings:
      Namespace Name Mixin selector
      official m Lavo;m:Lawk;
      intermediary field_7706 Lnet/minecraft/class_371;field_7706:Lnet/minecraft/class_1807;
      named streamIndicatorHud Lnet/minecraft/client/gui/hud/InGameHud;streamIndicatorHud:Lnet/minecraft/client/gui/hud/StreamIndicatorHud;
    • ticks

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      official n Lavo;n:I
      intermediary field_1168 Lnet/minecraft/class_371;field_1168:I
      named ticks Lnet/minecraft/client/gui/hud/InGameHud;ticks:I
    • overlayMessage

      private String overlayMessage
      Mappings:
      Namespace Name Mixin selector
      official o Lavo;o:Ljava/lang/String;
      intermediary field_1169 Lnet/minecraft/class_371;field_1169:Ljava/lang/String;
      named overlayMessage Lnet/minecraft/client/gui/hud/InGameHud;overlayMessage:Ljava/lang/String;
    • overlayRemaining

      private int overlayRemaining
      Mappings:
      Namespace Name Mixin selector
      official p Lavo;p:I
      intermediary field_1170 Lnet/minecraft/class_371;field_1170:I
      named overlayRemaining Lnet/minecraft/client/gui/hud/InGameHud;overlayRemaining:I
    • overlayTinted

      private boolean overlayTinted
      Mappings:
      Namespace Name Mixin selector
      official q Lavo;q:Z
      intermediary field_1171 Lnet/minecraft/class_371;field_1171:Z
      named overlayTinted Lnet/minecraft/client/gui/hud/InGameHud;overlayTinted:Z
    • vignetteDarkness

      public float vignetteDarkness
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a:F
      intermediary field_1163 Lnet/minecraft/class_371;field_1163:F
      named vignetteDarkness Lnet/minecraft/client/gui/hud/InGameHud;vignetteDarkness:F
    • heldItemTooltipFade

      private int heldItemTooltipFade
      Mappings:
      Namespace Name Mixin selector
      official r Lavo;r:I
      intermediary field_5074 Lnet/minecraft/class_371;field_5074:I
      named heldItemTooltipFade Lnet/minecraft/client/gui/hud/InGameHud;heldItemTooltipFade:I
    • heldItem

      private ItemStack heldItem
      Mappings:
      Namespace Name Mixin selector
      official s Lavo;s:Lzx;
      intermediary field_5075 Lnet/minecraft/class_371;field_5075:Lnet/minecraft/class_1071;
      named heldItem Lnet/minecraft/client/gui/hud/InGameHud;heldItem:Lnet/minecraft/item/ItemStack;
    • debugHud

      private final DebugHud debugHud
      Mappings:
      Namespace Name Mixin selector
      official t Lavo;t:Lavv;
      intermediary field_10344 Lnet/minecraft/class_371;field_10344:Lnet/minecraft/class_2294;
      named debugHud Lnet/minecraft/client/gui/hud/InGameHud;debugHud:Lnet/minecraft/client/gui/hud/DebugHud;
    • spectatorHud

      private final SpectatorHud spectatorHud
      Mappings:
      Namespace Name Mixin selector
      official u Lavo;u:Lawm;
      intermediary field_10345 Lnet/minecraft/class_371;field_10345:Lnet/minecraft/class_2310;
      named spectatorHud Lnet/minecraft/client/gui/hud/InGameHud;spectatorHud:Lnet/minecraft/client/gui/hud/SpectatorHud;
    • playerListHud

      private final PlayerListHud playerListHud
      Mappings:
      Namespace Name Mixin selector
      official v Lavo;v:Lawh;
      intermediary field_10346 Lnet/minecraft/class_371;field_10346:Lnet/minecraft/class_2308;
      named playerListHud Lnet/minecraft/client/gui/hud/InGameHud;playerListHud:Lnet/minecraft/client/gui/hud/PlayerListHud;
    • titleTotalTicks

      private int titleTotalTicks
      Mappings:
      Namespace Name Mixin selector
      official w Lavo;w:I
      intermediary field_10347 Lnet/minecraft/class_371;field_10347:I
      named titleTotalTicks Lnet/minecraft/client/gui/hud/InGameHud;titleTotalTicks:I
    • subtitle

      private String subtitle
      Mappings:
      Namespace Name Mixin selector
      official x Lavo;x:Ljava/lang/String;
      intermediary field_10348 Lnet/minecraft/class_371;field_10348:Ljava/lang/String;
      named subtitle Lnet/minecraft/client/gui/hud/InGameHud;subtitle:Ljava/lang/String;
    • title

      private String title
      Mappings:
      Namespace Name Mixin selector
      official y Lavo;y:Ljava/lang/String;
      intermediary field_10349 Lnet/minecraft/class_371;field_10349:Ljava/lang/String;
      named title Lnet/minecraft/client/gui/hud/InGameHud;title:Ljava/lang/String;
    • titleFadeInTicks

      private int titleFadeInTicks
      Mappings:
      Namespace Name Mixin selector
      official z Lavo;z:I
      intermediary field_10350 Lnet/minecraft/class_371;field_10350:I
      named titleFadeInTicks Lnet/minecraft/client/gui/hud/InGameHud;titleFadeInTicks:I
    • titleRemainTicks

      private int titleRemainTicks
      Mappings:
      Namespace Name Mixin selector
      official A Lavo;A:I
      intermediary field_10338 Lnet/minecraft/class_371;field_10338:I
      named titleRemainTicks Lnet/minecraft/client/gui/hud/InGameHud;titleRemainTicks:I
    • titleFadeOutTicks

      private int titleFadeOutTicks
      Mappings:
      Namespace Name Mixin selector
      official B Lavo;B:I
      intermediary field_10339 Lnet/minecraft/class_371;field_10339:I
      named titleFadeOutTicks Lnet/minecraft/client/gui/hud/InGameHud;titleFadeOutTicks:I
    • renderHealthValue

      private int renderHealthValue
      Mappings:
      Namespace Name Mixin selector
      official C Lavo;C:I
      intermediary field_10340 Lnet/minecraft/class_371;field_10340:I
      named renderHealthValue Lnet/minecraft/client/gui/hud/InGameHud;renderHealthValue:I
    • lastHealthValue

      private int lastHealthValue
      Mappings:
      Namespace Name Mixin selector
      official D Lavo;D:I
      intermediary field_10341 Lnet/minecraft/class_371;field_10341:I
      named lastHealthValue Lnet/minecraft/client/gui/hud/InGameHud;lastHealthValue:I
    • lastHealthCheckTime

      private long lastHealthCheckTime
      Mappings:
      Namespace Name Mixin selector
      official E Lavo;E:J
      intermediary field_10342 Lnet/minecraft/class_371;field_10342:J
      named lastHealthCheckTime Lnet/minecraft/client/gui/hud/InGameHud;lastHealthCheckTime:J
    • heartJumpEndTick

      private long heartJumpEndTick
      Mappings:
      Namespace Name Mixin selector
      official F Lavo;F:J
      intermediary field_10343 Lnet/minecraft/class_371;field_10343:J
      named heartJumpEndTick Lnet/minecraft/client/gui/hud/InGameHud;heartJumpEndTick:J
  • Constructor Details

    • InGameHud

      public InGameHud(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lavo;<init>(Lave;)V
      intermediary <init> Lnet/minecraft/class_371;<init>(Lnet/minecraft/class_1600;)V
      named <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 a Lavo;a()V
      intermediary method_9419 Lnet/minecraft/class_371;method_9419()V
      named setDefaultTitleFade Lnet/minecraft/client/gui/hud/InGameHud;setDefaultTitleFade()V
    • render

      public void render(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(F)V
      intermediary method_9420 Lnet/minecraft/class_371;method_9420(F)V
      named render Lnet/minecraft/client/gui/hud/InGameHud;render(F)V
    • renderHotbar

      protected void renderHotbar(Window window, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Lavr;F)V
      intermediary method_9425 Lnet/minecraft/class_371;method_9425(Lnet/minecraft/class_389;F)V
      named renderHotbar Lnet/minecraft/client/gui/hud/InGameHud;renderHotbar(Lnet/minecraft/client/util/Window;F)V
    • renderHorseHealth

      public void renderHorseHealth(Window window, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Lavr;I)V
      intermediary method_9426 Lnet/minecraft/class_371;method_9426(Lnet/minecraft/class_389;I)V
      named renderHorseHealth Lnet/minecraft/client/gui/hud/InGameHud;renderHorseHealth(Lnet/minecraft/client/util/Window;I)V
    • renderExperienceBar

      public void renderExperienceBar(Window window, int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lavo;b(Lavr;I)V
      intermediary method_9432 Lnet/minecraft/class_371;method_9432(Lnet/minecraft/class_389;I)V
      named renderExperienceBar Lnet/minecraft/client/gui/hud/InGameHud;renderExperienceBar(Lnet/minecraft/client/util/Window;I)V
    • renderHeldItemName

      public void renderHeldItemName(Window window)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Lavr;)V
      intermediary method_9424 Lnet/minecraft/class_371;method_9424(Lnet/minecraft/class_389;)V
      named renderHeldItemName Lnet/minecraft/client/gui/hud/InGameHud;renderHeldItemName(Lnet/minecraft/client/util/Window;)V
    • renderDemoTime

      public void renderDemoTime(Window window)
      Mappings:
      Namespace Name Mixin selector
      official b Lavo;b(Lavr;)V
      intermediary method_9431 Lnet/minecraft/class_371;method_9431(Lnet/minecraft/class_389;)V
      named renderDemoTime Lnet/minecraft/client/gui/hud/InGameHud;renderDemoTime(Lnet/minecraft/client/util/Window;)V
    • method_9429

      protected boolean method_9429()
      Mappings:
      Namespace Name Mixin selector
      official b Lavo;b()Z
      intermediary method_9429 Lnet/minecraft/class_371;method_9429()Z
      named method_9429 Lnet/minecraft/client/gui/hud/InGameHud;method_9429()Z
    • renderStreamIndicator

      public void renderStreamIndicator(Window wiindow)
      Mappings:
      Namespace Name Mixin selector
      official c Lavo;c(Lavr;)V
      intermediary method_9433 Lnet/minecraft/class_371;method_9433(Lnet/minecraft/class_389;)V
      named renderStreamIndicator Lnet/minecraft/client/gui/hud/InGameHud;renderStreamIndicator(Lnet/minecraft/client/util/Window;)V
    • renderScoreboardObjective

      private void renderScoreboardObjective(ScoreboardObjective objective, Window window)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Lauk;Lavr;)V
      intermediary method_9423 Lnet/minecraft/class_371;method_9423(Lnet/minecraft/class_1467;Lnet/minecraft/class_389;)V
      named renderScoreboardObjective Lnet/minecraft/client/gui/hud/InGameHud;renderScoreboardObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/client/util/Window;)V
    • renderStatusBars

      private void renderStatusBars(Window window)
      Mappings:
      Namespace Name Mixin selector
      official d Lavo;d(Lavr;)V
      intermediary method_9434 Lnet/minecraft/class_371;method_9434(Lnet/minecraft/class_389;)V
      named renderStatusBars Lnet/minecraft/client/gui/hud/InGameHud;renderStatusBars(Lnet/minecraft/client/util/Window;)V
    • renderBossBar

      private void renderBossBar()
      Mappings:
      Namespace Name Mixin selector
      official j Lavo;j()V
      intermediary method_986 Lnet/minecraft/class_371;method_986()V
      named renderBossBar Lnet/minecraft/client/gui/hud/InGameHud;renderBossBar()V
    • renderPumpkinBlur

      private void renderPumpkinBlur(Window window)
      Mappings:
      Namespace Name Mixin selector
      official e Lavo;e(Lavr;)V
      intermediary method_9435 Lnet/minecraft/class_371;method_9435(Lnet/minecraft/class_389;)V
      named renderPumpkinBlur Lnet/minecraft/client/gui/hud/InGameHud;renderPumpkinBlur(Lnet/minecraft/client/util/Window;)V
    • renderVignetteOverlay

      private void renderVignetteOverlay(float tickDelta, Window window)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(FLavr;)V
      intermediary method_9421 Lnet/minecraft/class_371;method_9421(FLnet/minecraft/class_389;)V
      named renderVignetteOverlay Lnet/minecraft/client/gui/hud/InGameHud;renderVignetteOverlay(FLnet/minecraft/client/util/Window;)V
    • renderNausea

      private void renderNausea(float amplifier, Window window)
      Mappings:
      Namespace Name Mixin selector
      official b Lavo;b(FLavr;)V
      intermediary method_9430 Lnet/minecraft/class_371;method_9430(FLnet/minecraft/class_389;)V
      named renderNausea Lnet/minecraft/client/gui/hud/InGameHud;renderNausea(FLnet/minecraft/client/util/Window;)V
    • method_9422

      private void method_9422(int int2, int int3, int int4, float float2, PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(IIIFLwn;)V
      intermediary method_9422 Lnet/minecraft/class_371;method_9422(IIIFLnet/minecraft/class_988;)V
      named method_9422 Lnet/minecraft/client/gui/hud/InGameHud;method_9422(IIIFLnet/minecraft/entity/player/PlayerEntity;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official c Lavo;c()V
      intermediary method_977 Lnet/minecraft/class_371;method_977()V
      named tick Lnet/minecraft/client/gui/hud/InGameHud;tick()V
    • setRecordPlayingOverlay

      public void setRecordPlayingOverlay(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Ljava/lang/String;)V
      intermediary method_982 Lnet/minecraft/class_371;method_982(Ljava/lang/String;)V
      named setRecordPlayingOverlay Lnet/minecraft/client/gui/hud/InGameHud;setRecordPlayingOverlay(Ljava/lang/String;)V
    • setOverlayMessage

      public void setOverlayMessage(String message, boolean tinted)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Ljava/lang/String;Z)V
      intermediary method_5588 Lnet/minecraft/class_371;method_5588(Ljava/lang/String;Z)V
      named setOverlayMessage Lnet/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 a Lavo;a(Ljava/lang/String;Ljava/lang/String;III)V
      intermediary method_9428 Lnet/minecraft/class_371;method_9428(Ljava/lang/String;Ljava/lang/String;III)V
      named setTitles Lnet/minecraft/client/gui/hud/InGameHud;setTitles(Ljava/lang/String;Ljava/lang/String;III)V
    • setOverlayMessage

      public void setOverlayMessage(Text text, boolean tinted)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Leu;Z)V
      intermediary method_9427 Lnet/minecraft/class_371;method_9427(Lnet/minecraft/class_1982;Z)V
      named setOverlayMessage Lnet/minecraft/client/gui/hud/InGameHud;setOverlayMessage(Lnet/minecraft/text/Text;Z)V
    • getChatHud

      public ChatHud getChatHud()
      Mappings:
      Namespace Name Mixin selector
      official d Lavo;d()Lavt;
      intermediary method_983 Lnet/minecraft/class_371;method_983()Lnet/minecraft/class_357;
      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 Lavo;e()I
      intermediary method_985 Lnet/minecraft/class_371;method_985()I
      named getTicks Lnet/minecraft/client/gui/hud/InGameHud;getTicks()I
    • getFontRenderer

      public TextRenderer getFontRenderer()
      Mappings:
      Namespace Name Mixin selector
      official f Lavo;f()Lavn;
      intermediary method_9436 Lnet/minecraft/class_371;method_9436()Lnet/minecraft/class_370;
      named getFontRenderer Lnet/minecraft/client/gui/hud/InGameHud;getFontRenderer()Lnet/minecraft/client/font/TextRenderer;
    • getSpectatorHud

      public SpectatorHud getSpectatorHud()
      Mappings:
      Namespace Name Mixin selector
      official g Lavo;g()Lawm;
      intermediary method_9437 Lnet/minecraft/class_371;method_9437()Lnet/minecraft/class_2310;
      named getSpectatorHud Lnet/minecraft/client/gui/hud/InGameHud;getSpectatorHud()Lnet/minecraft/client/gui/hud/SpectatorHud;
    • getPlayerListWidget

      public PlayerListHud getPlayerListWidget()
      Mappings:
      Namespace Name Mixin selector
      official h Lavo;h()Lawh;
      intermediary method_9438 Lnet/minecraft/class_371;method_9438()Lnet/minecraft/class_2308;
      named getPlayerListWidget Lnet/minecraft/client/gui/hud/InGameHud;getPlayerListWidget()Lnet/minecraft/client/gui/hud/PlayerListHud;
    • resetDebugHudChunk

      public void resetDebugHudChunk()
      Mappings:
      Namespace Name Mixin selector
      official i Lavo;i()V
      intermediary method_9439 Lnet/minecraft/class_371;method_9439()V
      named resetDebugHudChunk Lnet/minecraft/client/gui/hud/InGameHud;resetDebugHudChunk()V