Class SubtitlesHud

java.lang.Object
net.minecraft.client.gui.hud.SubtitlesHud
All Implemented Interfaces:
SoundInstanceListener

@Environment(CLIENT) public class SubtitlesHud extends Object implements SoundInstanceListener
Mappings:
Namespace Name
official eyo
intermediary net/minecraft/class_359
named net/minecraft/client/gui/hud/SubtitlesHud
  • Field Details

    • REMOVE_DELAY

      private static final long REMOVE_DELAY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leyo;a:J
      intermediary field_32214 Lnet/minecraft/class_359;field_32214:J
      named REMOVE_DELAY Lnet/minecraft/client/gui/hud/SubtitlesHud;REMOVE_DELAY:J
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Leyo;b:Levi;
      intermediary field_2182 Lnet/minecraft/class_359;field_2182:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/gui/hud/SubtitlesHud;client:Lnet/minecraft/client/MinecraftClient;
    • entries

      private final List<SubtitlesHud.SubtitleEntry> entries
      Mappings:
      Namespace Name Mixin selector
      official c Leyo;c:Ljava/util/List;
      intermediary field_2183 Lnet/minecraft/class_359;field_2183:Ljava/util/List;
      named entries Lnet/minecraft/client/gui/hud/SubtitlesHud;entries:Ljava/util/List;
    • enabled

      private boolean enabled
      Mappings:
      Namespace Name Mixin selector
      official d Leyo;d:Z
      intermediary field_2184 Lnet/minecraft/class_359;field_2184:Z
      named enabled Lnet/minecraft/client/gui/hud/SubtitlesHud;enabled:Z
    • audibleEntries

      private final List<SubtitlesHud.SubtitleEntry> audibleEntries
      Mappings:
      Namespace Name Mixin selector
      official e Leyo;e:Ljava/util/List;
      intermediary field_47672 Lnet/minecraft/class_359;field_47672:Ljava/util/List;
      named audibleEntries Lnet/minecraft/client/gui/hud/SubtitlesHud;audibleEntries:Ljava/util/List;
  • Constructor Details

    • SubtitlesHud

      public SubtitlesHud(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyo;<init>(Levi;)V
      intermediary <init> Lnet/minecraft/class_359;<init>(Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/gui/hud/SubtitlesHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
  • Method Details

    • render

      public void render(DrawContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Leyo;a(Lewu;)V
      intermediary method_1957 Lnet/minecraft/class_359;method_1957(Lnet/minecraft/class_332;)V
      named render Lnet/minecraft/client/gui/hud/SubtitlesHud;render(Lnet/minecraft/client/gui/DrawContext;)V
    • onSoundPlayed

      public void onSoundPlayed(SoundInstance sound, WeightedSoundSet soundSet, float range)
      Specified by:
      onSoundPlayed in interface SoundInstanceListener
      Mappings:
      Namespace Name Mixin selector
      official a Lgjd;a(Lgia;Lgjf;F)V
      intermediary method_4884 Lnet/minecraft/class_1145;method_4884(Lnet/minecraft/class_1113;Lnet/minecraft/class_1146;F)V
      named onSoundPlayed Lnet/minecraft/client/sound/SoundInstanceListener;onSoundPlayed(Lnet/minecraft/client/sound/SoundInstance;Lnet/minecraft/client/sound/WeightedSoundSet;F)V