public class GuiSubtitleOverlay extends Gui implements ISoundEventListener
Modifier and Type | Class and Description |
---|---|
class |
GuiSubtitleOverlay.Subtitle |
Modifier and Type | Field and Description |
---|---|
private Minecraft |
client |
private boolean |
enabled |
private java.util.List<GuiSubtitleOverlay.Subtitle> |
subtitles |
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiSubtitleOverlay(Minecraft clientIn) |
Modifier and Type | Method and Description |
---|---|
void |
renderSubtitles(ScaledResolution resolution) |
void |
soundPlay(ISound soundIn,
SoundEventAccessor accessor) |
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final Minecraft client
private final java.util.List<GuiSubtitleOverlay.Subtitle> subtitles
private boolean enabled
public GuiSubtitleOverlay(Minecraft clientIn)
public void renderSubtitles(ScaledResolution resolution)
public void soundPlay(ISound soundIn, SoundEventAccessor accessor)
soundPlay
in interface ISoundEventListener