Package net.minecraft.client.gui.hud
Class SubtitlesHud
java.lang.Object
net.minecraft.client.gui.hud.SubtitlesHud
- All Implemented Interfaces:
SoundInstanceListener
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/SubtitlesHud
intermediary net/minecraft/class_359
official fpn
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static final record
(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<SubtitlesHud.SubtitleEntry> private final MinecraftClient
private boolean
private final List
<SubtitlesHud.SubtitleEntry> private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onSoundPlayed
(SoundInstance sound, WeightedSoundSet soundSet, float range) void
render
(DrawContext context)
-
Field Details
-
REMOVE_DELAY
private static final long REMOVE_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named REMOVE_DELAY
Lnet/minecraft/client/gui/hud/SubtitlesHud;REMOVE_DELAY:J
intermediary field_32214
Lnet/minecraft/class_359;field_32214:J
official a
Lfpn;a:J
-
client
- Mappings:
Namespace Name Mixin selector named client
Lnet/minecraft/client/gui/hud/SubtitlesHud;client:Lnet/minecraft/client/MinecraftClient;
intermediary field_2182
Lnet/minecraft/class_359;field_2182:Lnet/minecraft/class_310;
official b
Lfpn;b:Lfmf;
-
entries
- Mappings:
Namespace Name Mixin selector named entries
Lnet/minecraft/client/gui/hud/SubtitlesHud;entries:Ljava/util/List;
intermediary field_2183
Lnet/minecraft/class_359;field_2183:Ljava/util/List;
official c
Lfpn;c:Ljava/util/List;
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector named enabled
Lnet/minecraft/client/gui/hud/SubtitlesHud;enabled:Z
intermediary field_2184
Lnet/minecraft/class_359;field_2184:Z
official d
Lfpn;d:Z
-
audibleEntries
- Mappings:
Namespace Name Mixin selector named audibleEntries
Lnet/minecraft/client/gui/hud/SubtitlesHud;audibleEntries:Ljava/util/List;
intermediary field_47672
Lnet/minecraft/class_359;field_47672:Ljava/util/List;
official e
Lfpn;e:Ljava/util/List;
-
-
Constructor Details
-
SubtitlesHud
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/hud/SubtitlesHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
intermediary <init>
Lnet/minecraft/class_359;<init>(Lnet/minecraft/class_310;)V
official <init>
Lfpn;<init>(Lfmf;)V
-
-
Method Details
-
render
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/hud/SubtitlesHud;render(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_1957
Lnet/minecraft/class_359;method_1957(Lnet/minecraft/class_332;)V
official a
Lfpn;a(Lfnr;)V
-
onSoundPlayed
- Specified by:
onSoundPlayed
in interfaceSoundInstanceListener
- Mappings:
Namespace Name Mixin selector named onSoundPlayed
Lnet/minecraft/client/sound/SoundInstanceListener;onSoundPlayed(Lnet/minecraft/client/sound/SoundInstance;Lnet/minecraft/client/sound/WeightedSoundSet;F)V
intermediary method_4884
Lnet/minecraft/class_1145;method_4884(Lnet/minecraft/class_1113;Lnet/minecraft/class_1146;F)V
official a
Lhgl;a(Lhfh;Lhgn;F)V
-