Class OptionsScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen

public class OptionsScreen extends Screen
  • Field Details

    • OPTION_SCREEN_OPTIONS

      private static final AbstractOption[] OPTION_SCREEN_OPTIONS
    • lastScreen

      private final Screen lastScreen
    • options

      private final GameSettings options
    • difficultyButton

      private Button difficultyButton
    • lockButton

      private LockIconButton lockButton
    • currentDifficulty

      private Difficulty currentDifficulty
  • Constructor Details

  • Method Details

    • init

      protected void init()
      Overrides:
      init in class Screen
    • updatePackList

      private void updatePackList(ResourcePackList p_241584_1_)
    • getDifficultyText

      private ITextComponent getDifficultyText(Difficulty p_238630_1_)
    • lockCallback

      private void lockCallback(boolean p_213050_1_)
    • removed

      public void removed()
      Overrides:
      removed in class Screen
    • render

      public void render(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_)
      Specified by:
      render in interface IRenderable
      Overrides:
      render in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen