Class OptionsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Widget

public class OptionsScreen extends Screen
  • Field Details

    • OPTION_SCREEN_OPTIONS

      private static final Option[] OPTION_SCREEN_OPTIONS
    • lastScreen

      private final Screen lastScreen
    • options

      private final Options options
    • difficultyButton

      private CycleButton<Difficulty> difficultyButton
    • lockButton

      private LockIconButton lockButton
  • Constructor Details

    • OptionsScreen

      public OptionsScreen(Screen p_96242_, Options p_96243_)
  • Method Details

    • init

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

      public static CycleButton<Difficulty> createDifficultyButton(int p_193847_, int p_193848_, int p_193849_, String p_193850_, Minecraft p_193851_)
    • updatePackList

      private void updatePackList(PackRepository p_96245_)
    • lockCallback

      private void lockCallback(boolean p_96261_)
    • removed

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

      public void render(PoseStack p_96249_, int p_96250_, int p_96251_, float p_96252_)
      Specified by:
      render in interface Widget
      Overrides:
      render in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen