Class OptionsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class OptionsScreen extends Screen
  • Field Details

    • SKIN_CUSTOMIZATION

      private static final Component SKIN_CUSTOMIZATION
    • SOUNDS

      private static final Component SOUNDS
    • VIDEO

      private static final Component VIDEO
    • CONTROLS

      private static final Component CONTROLS
    • LANGUAGE

      private static final Component LANGUAGE
    • CHAT

      private static final Component CHAT
    • RESOURCEPACK

      private static final Component RESOURCEPACK
    • ACCESSIBILITY

      private static final Component ACCESSIBILITY
    • TELEMETRY

      private static final Component TELEMETRY
    • CREDITS_AND_ATTRIBUTION

      private static final Component CREDITS_AND_ATTRIBUTION
    • COLUMNS

      private static final int COLUMNS
      See Also:
    • 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
    • applyPacks

      private void applyPacks(PackRepository p_275714_)
    • createOnlineButton

      private LayoutElement createOnlineButton()
    • createDifficultyButton

      public static CycleButton<Difficulty> createDifficultyButton(int p_262051_, int p_261805_, String p_261598_, Minecraft p_261922_)
    • lockCallback

      private void lockCallback(boolean p_96261_)
    • removed

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

      public void render(GuiGraphics p_283520_, int p_281826_, int p_283378_, float p_281975_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • openScreenButton

      private Button openScreenButton(Component p_261565_, Supplier<Screen> p_262119_)