Class ControlsOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class ControlsOptionsScreen extends GameOptionsScreen
Mappings:
Namespace Name
official ezb
intermediary net/minecraft/class_458
named net/minecraft/client/gui/screen/option/ControlsOptionsScreen
  • Field Details

    • MARGIN_Y

      private static final int MARGIN_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lezb;c:I
      intermediary field_36369 Lnet/minecraft/class_458;field_36369:I
      named MARGIN_Y Lnet/minecraft/client/gui/screen/option/ControlsOptionsScreen;MARGIN_Y:I
  • Constructor Details

    • ControlsOptionsScreen

      public ControlsOptionsScreen(Screen parent, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lezb;<init>(Leyk;Leqz;)V
      intermediary <init> Lnet/minecraft/class_458;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      named <init> Lnet/minecraft/client/gui/screen/option/ControlsOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)V
  • Method Details

    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class Screen
      Mappings:
      Namespace Name Mixin selector
      official aH_ Leyk;aH_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lets;a(Lesf;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V