Class ControlsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Widget

public class ControlsScreen extends OptionsSubScreen
  • Field Details

    • selectedKey

      public KeyMapping selectedKey
    • lastKeySelection

      public long lastKeySelection
    • controlList

      private ControlList controlList
    • resetButton

      private Button resetButton
  • Constructor Details

    • ControlsScreen

      public ControlsScreen(Screen p_97519_, Options p_97520_)
  • Method Details

    • init

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

      public boolean mouseClicked(double p_97522_, double p_97523_, int p_97524_)
    • keyPressed

      public boolean keyPressed(int p_97526_, int p_97527_, int p_97528_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
    • render

      public void render(PoseStack p_97530_, int p_97531_, int p_97532_, float p_97533_)
      Specified by:
      render in interface Widget
      Overrides:
      render in class Screen