Class OptionsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable

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
    • 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
    • createOnlineButton

      private AbstractWidget createOnlineButton()
    • createDifficultyButton

      public static CycleButton<Difficulty> createDifficultyButton(int p_262051_, int p_261805_, String p_261598_, Minecraft p_261922_)
    • 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 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_)