Class Controls


@Environment(CLIENT) public class Controls extends ScreenBase
Mappings:
Namespace Name
intermediary net/minecraft/class_587
glue class_674
server net/minecraft/class_587
client up
named net/minecraft/client/gui/screen/menu/Controls
  • Field Details

    • parent

      private ScreenBase parent
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2538 Lnet/minecraft/class_587;field_2538:Lnet/minecraft/class_32;
      glue field_2754 Lclass_674;field_2754:Lclass_117;
      server field_2538 Lnet/minecraft/class_587;field_2538:Lnet/minecraft/class_32;
      client i Lup;i:Lda;
      named parent Lnet/minecraft/client/gui/screen/menu/Controls;parent:Lnet/minecraft/client/gui/screen/ScreenBase;
    • title

      protected String title
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2537 Lnet/minecraft/class_587;field_2537:Ljava/lang/String;
      glue field_2753 Lclass_674;field_2753:Ljava/lang/String;
      server field_2537 Lnet/minecraft/class_587;field_2537:Ljava/lang/String;
      client a Lup;a:Ljava/lang/String;
      named title Lnet/minecraft/client/gui/screen/menu/Controls;title:Ljava/lang/String;
    • gameOptions

      private GameOptions gameOptions
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2539 Lnet/minecraft/class_587;field_2539:Lnet/minecraft/class_322;
      glue field_2755 Lclass_674;field_2755:Lclass_419;
      server field_2539 Lnet/minecraft/class_587;field_2539:Lnet/minecraft/class_322;
      client j Lup;j:Lkv;
      named gameOptions Lnet/minecraft/client/gui/screen/menu/Controls;gameOptions:Lnet/minecraft/client/options/GameOptions;
    • selectedButton

      private int selectedButton
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2540 Lnet/minecraft/class_587;field_2540:I
      glue field_2756 Lclass_674;field_2756:I
      server field_2540 Lnet/minecraft/class_587;field_2540:I
      client l Lup;l:I
      named selectedButton Lnet/minecraft/client/gui/screen/menu/Controls;selectedButton:I
  • Constructor Details

    • Controls

      public Controls(ScreenBase parent, GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_587;<init>(Lnet/minecraft/class_32;Lnet/minecraft/class_322;)V
      glue <init> Lclass_674;<init>(Lclass_117;Lclass_419;)V
      server <init> Lnet/minecraft/class_587;<init>(Lnet/minecraft/class_32;Lnet/minecraft/class_322;)V
      client <init> Lup;<init>(Lda;Lkv;)V
      named <init> Lnet/minecraft/client/gui/screen/menu/Controls;<init>(Lnet/minecraft/client/gui/screen/ScreenBase;Lnet/minecraft/client/options/GameOptions;)V
  • Method Details

    • getMargin

      private int getMargin()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1943 Lnet/minecraft/class_587;method_1943()I
      glue method_2207 Lclass_674;method_2207()I
      server method_1943 Lnet/minecraft/class_587;method_1943()I
      client k Lup;k()I
      named getMargin Lnet/minecraft/client/gui/screen/menu/Controls;getMargin()I
    • init

      public void init()
      Overrides:
      init in class ScreenBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_119 Lnet/minecraft/class_32;method_119()V
      glue method_252 Lclass_117;method_252()V
      server method_119 Lnet/minecraft/class_32;method_119()V
      client b Lda;b()V
      named init Lnet/minecraft/client/gui/screen/ScreenBase;init()V
    • buttonClicked

      protected void buttonClicked(Button button)
      Overrides:
      buttonClicked in class ScreenBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_120 Lnet/minecraft/class_32;method_120(Lnet/minecraft/class_33;)V
      glue method_257 Lclass_117;method_257(Lclass_389;)V
      server method_120 Lnet/minecraft/class_32;method_120(Lnet/minecraft/class_33;)V
      client a Lda;a(Lke;)V
      named buttonClicked Lnet/minecraft/client/gui/screen/ScreenBase;buttonClicked(Lnet/minecraft/client/gui/widgets/Button;)V
    • keyPressed

      protected void keyPressed(char character, int key)
      Overrides:
      keyPressed in class ScreenBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_117 Lnet/minecraft/class_32;method_117(CI)V
      glue method_250 Lclass_117;method_250(CI)V
      server method_117 Lnet/minecraft/class_32;method_117(CI)V
      client a Lda;a(CI)V
      named keyPressed Lnet/minecraft/client/gui/screen/ScreenBase;keyPressed(CI)V
    • render

      public void render(int mouseX, int mouseY, float delta)
      Overrides:
      render in class ScreenBase
      Mappings:
      Namespace Name Mixin selector
      intermediary method_118 Lnet/minecraft/class_32;method_118(IIF)V
      glue method_251 Lclass_117;method_251(IIF)V
      server method_118 Lnet/minecraft/class_32;method_118(IIF)V
      client a Lda;a(IIF)V
      named render Lnet/minecraft/client/gui/screen/ScreenBase;render(IIF)V