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 cgl
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 Lcgl;f:Lpc;
      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 Lcgl;g:Lpc;
      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 Lcgl;h:Lpc;
      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 Lcgl;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 Lcgl;j:Lcft;
      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;
    • field_20063

      private final HeldItemRenderer field_20063
      Mappings:
      Namespace Name Mixin selector
      official k Lcgl;k:Lczg;
      intermediary field_20063 Lnet/minecraft/class_371;field_20063:Lnet/minecraft/class_529;
      named field_20063 Lnet/minecraft/client/gui/hud/InGameHud;field_20063:Lnet/minecraft/client/render/item/HeldItemRenderer;
    • chatHud

      private final ChatHud chatHud
      Mappings:
      Namespace Name Mixin selector
      official l Lcgl;l:Lcgv;
      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;
    • ticks

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      official m Lcgl;m: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 n Lcgl;n: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 o Lcgl;o: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 p Lcgl;p: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 Lcgl;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 q Lcgl;q: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 r Lcgl;r:Late;
      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 s Lcgl;s:Lcgx;
      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;
    • field_13302

      private final class_2841 field_13302
      Mappings:
      Namespace Name Mixin selector
      official t Lcgl;t:Lcho;
      intermediary field_13302 Lnet/minecraft/class_371;field_13302:Lnet/minecraft/class_2841;
      named field_13302 Lnet/minecraft/client/gui/hud/InGameHud;field_13302:Lnet/minecraft/client/class_2841;
    • spectatorHud

      private final SpectatorHud spectatorHud
      Mappings:
      Namespace Name Mixin selector
      official u Lcgl;u:Lchv;
      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 Lcgl;v:Lchk;
      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;
    • field_13303

      private final class_2839 field_13303
      Mappings:
      Namespace Name Mixin selector
      official w Lcgl;w:Lcgt;
      intermediary field_13303 Lnet/minecraft/class_371;field_13303:Lnet/minecraft/class_2839;
      named field_13303 Lnet/minecraft/client/gui/hud/InGameHud;field_13303:Lnet/minecraft/client/class_2839;
    • titleTotalTicks

      private int titleTotalTicks
      Mappings:
      Namespace Name Mixin selector
      official x Lcgl;x: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 y Lcgl;y: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 z Lcgl;z: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 A Lcgl;A: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 B Lcgl;B: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 C Lcgl;C: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 D Lcgl;D: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 E Lcgl;E: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 F Lcgl;F: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 G Lcgl;G:J
      intermediary field_10343 Lnet/minecraft/class_371;field_10343:J
      named heartJumpEndTick Lnet/minecraft/client/gui/hud/InGameHud;heartJumpEndTick:J
    • field_20061

      private int field_20061
      Mappings:
      Namespace Name Mixin selector
      official H Lcgl;H:I
      intermediary field_20061 Lnet/minecraft/class_371;field_20061:I
      named field_20061 Lnet/minecraft/client/gui/hud/InGameHud;field_20061:I
    • field_20062

      private int field_20062
      Mappings:
      Namespace Name Mixin selector
      official I Lcgl;I:I
      intermediary field_20062 Lnet/minecraft/class_371;field_20062:I
      named field_20062 Lnet/minecraft/client/gui/hud/InGameHud;field_20062:I
    • field_15886

      private final Map<ChatMessageType,List<class_3252>> field_15886
      Mappings:
      Namespace Name Mixin selector
      official J Lcgl;J:Ljava/util/Map;
      intermediary field_15886 Lnet/minecraft/class_371;field_15886:Ljava/util/Map;
      named field_15886 Lnet/minecraft/client/gui/hud/InGameHud;field_15886:Ljava/util/Map;
  • Constructor Details

    • InGameHud

      public InGameHud(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcgl;<init>(Lcft;)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 Lcgl;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 Lcgl;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
    • method_18366

      private void method_18366(float float2)
      Mappings:
      Namespace Name Mixin selector
      official c Lcgl;c(F)V
      intermediary method_18366 Lnet/minecraft/class_371;method_18366(F)V
      named method_18366 Lnet/minecraft/client/gui/hud/InGameHud;method_18366(F)V
    • method_18363

      protected void method_18363()
      Mappings:
      Namespace Name Mixin selector
      official b Lcgl;b()V
      intermediary method_18363 Lnet/minecraft/class_371;method_18363()V
      named method_18363 Lnet/minecraft/client/gui/hud/InGameHud;method_18363()V
    • method_9425

      protected void method_9425(float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Lcgl;b(F)V
      intermediary method_9425 Lnet/minecraft/class_371;method_9425(F)V
      named method_9425 Lnet/minecraft/client/gui/hud/InGameHud;method_9425(F)V
    • method_9426

      public void method_9426(int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgl;a(I)V
      intermediary method_9426 Lnet/minecraft/class_371;method_9426(I)V
      named method_9426 Lnet/minecraft/client/gui/hud/InGameHud;method_9426(I)V
    • method_9432

      public void method_9432(int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Lcgl;b(I)V
      intermediary method_9432 Lnet/minecraft/class_371;method_9432(I)V
      named method_9432 Lnet/minecraft/client/gui/hud/InGameHud;method_9432(I)V
    • method_18365

      public void method_18365()
      Mappings:
      Namespace Name Mixin selector
      official c Lcgl;c()V
      intermediary method_18365 Lnet/minecraft/class_371;method_18365()V
      named method_18365 Lnet/minecraft/client/gui/hud/InGameHud;method_18365()V
    • method_18368

      public void method_18368()
      Mappings:
      Namespace Name Mixin selector
      official d Lcgl;d()V
      intermediary method_18368 Lnet/minecraft/class_371;method_18368()V
      named method_18368 Lnet/minecraft/client/gui/hud/InGameHud;method_18368()V
    • method_18361

      private void method_18361(ScoreboardObjective scoreboardObjective)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgl;a(Lcez;)V
      intermediary method_18361 Lnet/minecraft/class_371;method_18361(Lnet/minecraft/class_1467;)V
      named method_18361 Lnet/minecraft/client/gui/hud/InGameHud;method_18361(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • method_18369

      private PlayerEntity method_18369()
      Mappings:
      Namespace Name Mixin selector
      official m Lcgl;m()Laog;
      intermediary method_18369 Lnet/minecraft/class_371;method_18369()Lnet/minecraft/class_988;
      named method_18369 Lnet/minecraft/client/gui/hud/InGameHud;method_18369()Lnet/minecraft/entity/player/PlayerEntity;
    • method_18370

      private LivingEntity method_18370()
      Mappings:
      Namespace Name Mixin selector
      official n Lcgl;n()Lafa;
      intermediary method_18370 Lnet/minecraft/class_371;method_18370()Lnet/minecraft/class_1699;
      named method_18370 Lnet/minecraft/client/gui/hud/InGameHud;method_18370()Lnet/minecraft/entity/LivingEntity;
    • method_18360

      private int method_18360(LivingEntity livingEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgl;a(Lafa;)I
      intermediary method_18360 Lnet/minecraft/class_371;method_18360(Lnet/minecraft/class_1699;)I
      named method_18360 Lnet/minecraft/client/gui/hud/InGameHud;method_18360(Lnet/minecraft/entity/LivingEntity;)I
    • method_18367

      private int method_18367(int int2)
      Mappings:
      Namespace Name Mixin selector
      official c Lcgl;c(I)I
      intermediary method_18367 Lnet/minecraft/class_371;method_18367(I)I
      named method_18367 Lnet/minecraft/client/gui/hud/InGameHud;method_18367(I)I
    • method_18371

      private void method_18371()
      Mappings:
      Namespace Name Mixin selector
      official o Lcgl;o()V
      intermediary method_18371 Lnet/minecraft/class_371;method_18371()V
      named method_18371 Lnet/minecraft/client/gui/hud/InGameHud;method_18371()V
    • method_18372

      private void method_18372()
      Mappings:
      Namespace Name Mixin selector
      official p Lcgl;p()V
      intermediary method_18372 Lnet/minecraft/class_371;method_18372()V
      named method_18372 Lnet/minecraft/client/gui/hud/InGameHud;method_18372()V
    • method_18373

      private void method_18373()
      Mappings:
      Namespace Name Mixin selector
      official q Lcgl;q()V
      intermediary method_18373 Lnet/minecraft/class_371;method_18373()V
      named method_18373 Lnet/minecraft/client/gui/hud/InGameHud;method_18373()V
    • method_18359

      private void method_18359(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgl;a(Laer;)V
      intermediary method_18359 Lnet/minecraft/class_371;method_18359(Lnet/minecraft/class_864;)V
      named method_18359 Lnet/minecraft/client/gui/hud/InGameHud;method_18359(Lnet/minecraft/entity/Entity;)V
    • method_18364

      private void method_18364(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Lcgl;b(Laer;)V
      intermediary method_18364 Lnet/minecraft/class_371;method_18364(Lnet/minecraft/class_864;)V
      named method_18364 Lnet/minecraft/client/gui/hud/InGameHud;method_18364(Lnet/minecraft/entity/Entity;)V
    • method_9430

      private void method_9430(float float2)
      Mappings:
      Namespace Name Mixin selector
      official d Lcgl;d(F)V
      intermediary method_9430 Lnet/minecraft/class_371;method_9430(F)V
      named method_9430 Lnet/minecraft/client/gui/hud/InGameHud;method_9430(F)V
    • method_9422

      private void method_9422(int int2, int int3, float float2, PlayerEntity playerEntity, ItemStack itemStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgl;a(IIFLaog;Late;)V
      intermediary method_9422 Lnet/minecraft/class_371;method_9422(IIFLnet/minecraft/class_988;Lnet/minecraft/class_1071;)V
      named method_9422 Lnet/minecraft/client/gui/hud/InGameHud;method_9422(IIFLnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official e Lcgl;e()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 Lcgl;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 Lcgl;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 Lcgl;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 Lcgl;a(Lij;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
    • method_14471

      public void method_14471(ChatMessageType chatMessageType, Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lcgl;a(Lih;Lij;)V
      intermediary method_14471 Lnet/minecraft/class_371;method_14471(Lnet/minecraft/class_3324;Lnet/minecraft/class_1982;)V
      named method_14471 Lnet/minecraft/client/gui/hud/InGameHud;method_14471(Lnet/minecraft/util/ChatMessageType;Lnet/minecraft/text/Text;)V
    • getChatHud

      public ChatHud getChatHud()
      Mappings:
      Namespace Name Mixin selector
      official f Lcgl;f()Lcgv;
      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 g Lcgl;g()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 h Lcgl;h()Lcgk;
      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 i Lcgl;i()Lchv;
      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 j Lcgl;j()Lchk;
      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 k Lcgl;k()V
      intermediary method_9439 Lnet/minecraft/class_371;method_9439()V
      named resetDebugHudChunk Lnet/minecraft/client/gui/hud/InGameHud;resetDebugHudChunk()V
    • method_12167

      public class_2839 method_12167()
      Mappings:
      Namespace Name Mixin selector
      official l Lcgl;l()Lcgt;
      intermediary method_12167 Lnet/minecraft/class_371;method_12167()Lnet/minecraft/class_2839;
      named method_12167 Lnet/minecraft/client/gui/hud/InGameHud;method_12167()Lnet/minecraft/client/class_2839;