Package net.minecraft.client.gui.hud
Class SubtitlesHud
java.lang.Object
net.minecraft.client.gui.hud.SubtitlesHud
- All Implemented Interfaces:
SoundInstanceListener
- Mappings:
Namespace Name official eqcintermediary net/minecraft/class_359named net/minecraft/client/gui/hud/SubtitlesHud
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate booleanprivate final List<SubtitlesHud.SubtitleEntry>private static final long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonSoundPlayed(SoundInstance sound, WeightedSoundSet soundSet) voidrender(DrawContext context)
-
Field Details
-
REMOVE_DELAY
private static final long REMOVE_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector official aLeqc;a:Jintermediary field_32214Lnet/minecraft/class_359;field_32214:Jnamed REMOVE_DELAYLnet/minecraft/client/gui/hud/SubtitlesHud;REMOVE_DELAY:J
-
client
- Mappings:
Namespace Name Mixin selector official bLeqc;b:Lenf;intermediary field_2182Lnet/minecraft/class_359;field_2182:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/hud/SubtitlesHud;client:Lnet/minecraft/client/MinecraftClient;
-
entries
- Mappings:
Namespace Name Mixin selector official cLeqc;c:Ljava/util/List;intermediary field_2183Lnet/minecraft/class_359;field_2183:Ljava/util/List;named entriesLnet/minecraft/client/gui/hud/SubtitlesHud;entries:Ljava/util/List;
-
enabled
private boolean enabled- Mappings:
Namespace Name Mixin selector official dLeqc;d:Zintermediary field_2184Lnet/minecraft/class_359;field_2184:Znamed enabledLnet/minecraft/client/gui/hud/SubtitlesHud;enabled:Z
-
-
Constructor Details
-
SubtitlesHud
- Mappings:
Namespace Name Mixin selector official <init>Leqc;<init>(Lenf;)Vintermediary <init>Lnet/minecraft/class_359;<init>(Lnet/minecraft/class_310;)Vnamed <init>Lnet/minecraft/client/gui/hud/SubtitlesHud;<init>(Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
render
- Mappings:
Namespace Name Mixin selector official aLeqc;a(Leop;)Vintermediary method_1957Lnet/minecraft/class_359;method_1957(Lnet/minecraft/class_332;)Vnamed renderLnet/minecraft/client/gui/hud/SubtitlesHud;render(Lnet/minecraft/client/gui/DrawContext;)V
-
onSoundPlayed
- Specified by:
onSoundPlayedin interfaceSoundInstanceListener- Mappings:
Namespace Name Mixin selector official aLfyq;a(Lfxn;Lfys;)Vintermediary method_4884Lnet/minecraft/class_1145;method_4884(Lnet/minecraft/class_1113;Lnet/minecraft/class_1146;)Vnamed onSoundPlayedLnet/minecraft/client/sound/SoundInstanceListener;onSoundPlayed(Lnet/minecraft/client/sound/SoundInstance;Lnet/minecraft/client/sound/WeightedSoundSet;)V
-