Class ControlsListWidget

All Implemented Interfaces:
Drawable, Element, Narratable, ParentElement, Selectable

@Environment(CLIENT) public class ControlsListWidget extends ElementListWidget<ControlsListWidget.Entry>
Mappings:
Namespace Name
official ebg
intermediary net/minecraft/class_459
named net/minecraft/client/gui/screen/option/ControlsListWidget
  • Field Details

    • parent

      final ControlsOptionsScreen parent
      Mappings:
      Namespace Name Mixin selector
      official a Lebg;a:Lebh;
      intermediary field_2735 Lnet/minecraft/class_459;field_2735:Lnet/minecraft/class_458;
      named parent Lnet/minecraft/client/gui/screen/option/ControlsListWidget;parent:Lnet/minecraft/client/gui/screen/option/ControlsOptionsScreen;
    • maxKeyNameLength

      int maxKeyNameLength
      Mappings:
      Namespace Name Mixin selector
      official o Lebg;o:I
      intermediary field_2733 Lnet/minecraft/class_459;field_2733:I
      named maxKeyNameLength Lnet/minecraft/client/gui/screen/option/ControlsListWidget;maxKeyNameLength:I
  • Constructor Details

    • ControlsListWidget

      public ControlsListWidget(ControlsOptionsScreen parent, MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lebg;<init>(Lebh;Ldvo;)V
      intermediary <init> Lnet/minecraft/class_459;<init>(Lnet/minecraft/class_458;Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/gui/screen/option/ControlsListWidget;<init>(Lnet/minecraft/client/gui/screen/option/ControlsOptionsScreen;Lnet/minecraft/client/MinecraftClient;)V
  • Method Details

    • getScrollbarPositionX

      protected int getScrollbarPositionX()
      Overrides:
      getScrollbarPositionX in class EntryListWidget<ControlsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official e Ldwv;e()I
      intermediary method_25329 Lnet/minecraft/class_350;method_25329()I
      named getScrollbarPositionX Lnet/minecraft/client/gui/widget/EntryListWidget;getScrollbarPositionX()I
    • getRowWidth

      public int getRowWidth()
      Overrides:
      getRowWidth in class EntryListWidget<ControlsListWidget.Entry>
      Mappings:
      Namespace Name Mixin selector
      official d Ldwv;d()I
      intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
      named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I