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 long
private boolean
private Minecraft
private 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, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
DISPLAY_TIME
private static final long DISPLAY_TIME- See Also:
- Constant Field Values
-
minecraft
-
subtitles
-
isListening
private boolean isListening
-
-
Constructor Details
-
SubtitleOverlay
-
-
Method Details
-
render
-
onPlaySound
- Specified by:
onPlaySound
in interfaceSoundEventListener
-