public class SubtitleOverlayGui extends AbstractGui implements ISoundEventListener
Modifier and Type | Class and Description |
---|---|
class |
SubtitleOverlayGui.Subtitle |
Modifier and Type | Field and Description |
---|---|
private Minecraft |
client |
private boolean |
enabled |
private java.util.List<SubtitleOverlayGui.Subtitle> |
subtitles |
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
SubtitleOverlayGui(Minecraft clientIn) |
Modifier and Type | Method and Description |
---|---|
void |
onPlaySound(ISound soundIn,
SoundEventAccessor accessor) |
void |
render() |
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
private final Minecraft client
private final java.util.List<SubtitleOverlayGui.Subtitle> subtitles
private boolean enabled
public SubtitleOverlayGui(Minecraft clientIn)
public void render()
public void onPlaySound(ISound soundIn, SoundEventAccessor accessor)
onPlaySound
in interface ISoundEventListener