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_680
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_2844 Lnet/minecraft/class_680;field_2844:Lnet/minecraft/class_1605;
      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_2845 Lnet/minecraft/class_680;field_2845:Lnet/minecraft/class_1605;
      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_2846 Lnet/minecraft/class_680;field_2846:Lnet/minecraft/class_1605;
      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_2847 Lnet/minecraft/class_680;field_2847: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_2848 Lnet/minecraft/class_680;field_2848:Lnet/minecraft/class_669;
      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_2849 Lnet/minecraft/class_680;field_2849:Lnet/minecraft/class_1150;
      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_2850 Lnet/minecraft/class_680;field_2850:Lnet/minecraft/class_686;
      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_2851 Lnet/minecraft/class_680;field_2851:Lnet/minecraft/class_715;
      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_2852 Lnet/minecraft/class_680;field_2852: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_2853 Lnet/minecraft/class_680;field_2853: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_2854 Lnet/minecraft/class_680;field_2854: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_2855 Lnet/minecraft/class_680;field_2855: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_2843 Lnet/minecraft/class_680;field_2843: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_2856 Lnet/minecraft/class_680;field_2856: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_2857 Lnet/minecraft/class_680;field_2857:Lnet/minecraft/class_2056;
      named heldItem Lnet/minecraft/client/gui/hud/InGameHud;heldItem:Lnet/minecraft/item/ItemStack;
    • debugHud

      private final DebugMenuHud debugHud
      Mappings:
      Namespace Name Mixin selector
      official t Lavo;t:Lavv;
      intermediary field_2858 Lnet/minecraft/class_680;field_2858:Lnet/minecraft/class_688;
      named debugHud Lnet/minecraft/client/gui/hud/InGameHud;debugHud:Lnet/minecraft/client/gui/hud/DebugMenuHud;
    • spectatorHud

      private final SpectatorHud spectatorHud
      Mappings:
      Namespace Name Mixin selector
      official u Lavo;u:Lawm;
      intermediary field_2859 Lnet/minecraft/class_680;field_2859:Lnet/minecraft/class_716;
      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_2860 Lnet/minecraft/class_680;field_2860:Lnet/minecraft/class_711;
      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_2861 Lnet/minecraft/class_680;field_2861: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_2862 Lnet/minecraft/class_680;field_2862: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_2863 Lnet/minecraft/class_680;field_2863: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_2864 Lnet/minecraft/class_680;field_2864: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_2837 Lnet/minecraft/class_680;field_2837: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_2838 Lnet/minecraft/class_680;field_2838: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_2839 Lnet/minecraft/class_680;field_2839: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_2840 Lnet/minecraft/class_680;field_2840: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_2841 Lnet/minecraft/class_680;field_2841: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_2842 Lnet/minecraft/class_680;field_2842: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_680;<init>(Lnet/minecraft/class_669;)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_2415 Lnet/minecraft/class_680;method_2415()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_2416 Lnet/minecraft/class_680;method_2416(F)V
      named render Lnet/minecraft/client/gui/hud/InGameHud;render(F)V
    • method_2421

      protected void method_2421​(Window window, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lavo;a(Lavr;F)V
      intermediary method_2421 Lnet/minecraft/class_680;method_2421(Lnet/minecraft/class_684;F)V
      named method_2421 Lnet/minecraft/client/gui/hud/InGameHud;method_2421(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_2422 Lnet/minecraft/class_680;method_2422(Lnet/minecraft/class_684;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_2430 Lnet/minecraft/class_680;method_2430(Lnet/minecraft/class_684;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_2420 Lnet/minecraft/class_680;method_2420(Lnet/minecraft/class_684;)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_2429 Lnet/minecraft/class_680;method_2429(Lnet/minecraft/class_684;)V
      named renderDemoTime Lnet/minecraft/client/gui/hud/InGameHud;renderDemoTime(Lnet/minecraft/client/util/Window;)V
    • method_2427

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

      public void renderStreamIndicator​(Window wiindow)
      Mappings:
      Namespace Name Mixin selector
      official c Lavo;c(Lavr;)V
      intermediary method_2432 Lnet/minecraft/class_680;method_2432(Lnet/minecraft/class_684;)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_2419 Lnet/minecraft/class_680;method_2419(Lnet/minecraft/class_650;Lnet/minecraft/class_684;)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_2434 Lnet/minecraft/class_680;method_2434(Lnet/minecraft/class_684;)V
      named renderStatusBars Lnet/minecraft/client/gui/hud/InGameHud;renderStatusBars(Lnet/minecraft/client/util/Window;)V
    • method_2441

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

      private void renderPumpkinBlur​(Window window)
      Mappings:
      Namespace Name Mixin selector
      official e Lavo;e(Lavr;)V
      intermediary method_2436 Lnet/minecraft/class_680;method_2436(Lnet/minecraft/class_684;)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_2417 Lnet/minecraft/class_680;method_2417(FLnet/minecraft/class_684;)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_2428 Lnet/minecraft/class_680;method_2428(FLnet/minecraft/class_684;)V
      named renderNausea Lnet/minecraft/client/gui/hud/InGameHud;renderNausea(FLnet/minecraft/client/util/Window;)V
    • method_2418

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

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official c Lavo;c()V
      intermediary method_2431 Lnet/minecraft/class_680;method_2431()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_2424 Lnet/minecraft/class_680;method_2424(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_2426 Lnet/minecraft/class_680;method_2426(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_2425 Lnet/minecraft/class_680;method_2425(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_2423 Lnet/minecraft/class_680;method_2423(Lnet/minecraft/class_1444;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_2433 Lnet/minecraft/class_680;method_2433()Lnet/minecraft/class_686;
      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_2435 Lnet/minecraft/class_680;method_2435()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_2437 Lnet/minecraft/class_680;method_2437()Lnet/minecraft/class_679;
      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_2438 Lnet/minecraft/class_680;method_2438()Lnet/minecraft/class_716;
      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_2439 Lnet/minecraft/class_680;method_2439()Lnet/minecraft/class_711;
      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_2440 Lnet/minecraft/class_680;method_2440()V
      named resetDebugHudChunk Lnet/minecraft/client/gui/hud/InGameHud;resetDebugHudChunk()V