public class GuiScreenOptionsSounds extends GuiScreen
Modifier and Type | Class and Description |
---|---|
(package private) class |
GuiScreenOptionsSounds.Button |
Modifier and Type | Field and Description |
---|---|
private GuiScreen |
field_146505_f |
protected java.lang.String |
field_146507_a |
private java.lang.String |
field_146508_h |
private GameSettings |
game_settings_4
Reference to the GameSettings object.
|
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiScreenOptionsSounds(GuiScreen p_i45025_1_,
GameSettings p_i45025_2_) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
protected java.lang.String |
getSoundVolume(SoundCategory p_146504_1_) |
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
confirmClicked, doesGuiPauseGame, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution, updateScreen
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private final GuiScreen field_146505_f
private final GameSettings game_settings_4
protected java.lang.String field_146507_a
private java.lang.String field_146508_h
public GuiScreenOptionsSounds(GuiScreen p_i45025_1_, GameSettings p_i45025_2_)
public void initGui()
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
protected java.lang.String getSoundVolume(SoundCategory p_146504_1_)