Class KeyBindsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class KeyBindsScreen extends OptionsSubScreen
  • Field Details

    • selectedKey

      @Nullable public KeyMapping selectedKey
    • lastKeySelection

      public long lastKeySelection
    • keyBindsList

      private KeyBindsList keyBindsList
    • resetButton

      private Button resetButton
  • Constructor Details

    • KeyBindsScreen

      public KeyBindsScreen(Screen p_193980_, Options p_193981_)
  • Method Details

    • init

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

      public boolean mouseClicked(double p_193983_, double p_193984_, int p_193985_)
    • keyPressed

      public boolean keyPressed(int p_193987_, int p_193988_, int p_193989_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class Screen
    • keyReleased

      public boolean keyReleased(int keyCode, int scanCode, int modifiers)
    • render

      public void render(GuiGraphics p_282556_, int p_193992_, int p_193993_, float p_193994_)
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen