Class SubtitleOverlay
java.lang.Object
net.minecraft.client.gui.components.SubtitleOverlay
- All Implemented Interfaces:
SoundEventListener
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<SubtitleOverlay.Subtitle> private static final long
private boolean
private final Minecraft
private final List
<SubtitleOverlay.Subtitle> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPlaySound
(SoundInstance p_94645_, WeighedSoundEvents p_94646_, float p_311530_) void
render
(GuiGraphics p_282562_)
-
Field Details
-
DISPLAY_TIME
private static final long DISPLAY_TIME- See Also:
-
minecraft
-
subtitles
-
isListening
private boolean isListening -
audibleSubtitles
-
-
Constructor Details
-
SubtitleOverlay
-
-
Method Details
-
render
-
onPlaySound
- Specified by:
onPlaySound
in interfaceSoundEventListener
-