Class SubtitleOverlay
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.SubtitleOverlay
- All Implemented Interfaces:
SoundEventListener
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final long
private boolean
private final Minecraft
private final List<SubtitleOverlay.Subtitle>
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, LIGHT_DIRT_BACKGROUND, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPlaySound
(SoundInstance p_94645_, WeighedSoundEvents p_94646_) void
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blit, blitNineSliced, blitNineSliced, blitNineSliced, blitOutlineBlack, blitRepeating, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, hLine, renderOutline, vLine
-
Field Details
-
DISPLAY_TIME
private static final long DISPLAY_TIME- See Also:
-
minecraft
-
subtitles
-
isListening
private boolean isListening
-
-
Constructor Details
-
SubtitleOverlay
-
-
Method Details
-
render
-
onPlaySound
- Specified by:
onPlaySound
in interfaceSoundEventListener
-