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, 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, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, 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
-