Class GuiOptions


@Environment(CLIENT) public class GuiOptions extends GuiScreen
  • Field Details

    • screenTitle

      protected String screenTitle
      The title string that is displayed in the top-center of the screen.
  • Constructor Details

    • GuiOptions

      public GuiOptions(GuiScreen par1GuiScreen, GameSettings par2GameSettings, boolean hideDifficulty)
  • Method Details

    • initGui

      public void initGui()
      Adds the buttons (and other controls) to the screen in question.
      Overrides:
      initGui in class GuiScreen
    • actionPerformed

      protected void actionPerformed(GuiButton par1GuiButton)
      Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).
      Overrides:
      actionPerformed in class GuiScreen
    • drawScreen

      public void drawScreen(int par1, int par2, float par3)
      Draws the screen and all the components in it.
      Overrides:
      drawScreen in class GuiScreen