Package net.minecraft.client.gui.overlay
Class SubtitleOverlayGui
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- net.minecraft.client.gui.overlay.SubtitleOverlayGui
-
- All Implemented Interfaces:
ISoundEventListener
public class SubtitleOverlayGui extends AbstractGui implements ISoundEventListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
SubtitleOverlayGui.Subtitle
-
Field Summary
Fields Modifier and Type Field Description private boolean
isListening
private Minecraft
minecraft
private java.util.List<SubtitleOverlayGui.Subtitle>
subtitles
-
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
-
Constructor Summary
Constructors Constructor Description SubtitleOverlayGui(Minecraft p_i46603_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onPlaySound(ISound p_184067_1_, SoundEventAccessor p_184067_2_)
void
render(MatrixStack p_195620_1_)
-
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
-
-
-
Field Detail
-
minecraft
private final Minecraft minecraft
-
subtitles
private final java.util.List<SubtitleOverlayGui.Subtitle> subtitles
-
isListening
private boolean isListening
-
-
Constructor Detail
-
SubtitleOverlayGui
public SubtitleOverlayGui(Minecraft p_i46603_1_)
-
-
Method Detail
-
render
public void render(MatrixStack p_195620_1_)
-
onPlaySound
public void onPlaySound(ISound p_184067_1_, SoundEventAccessor p_184067_2_)
- Specified by:
onPlaySound
in interfaceISoundEventListener
-
-