Class ControlsListWidget

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • parent

      private final ControlsOptionsScreen parent
      Mappings:
      Namespace Name Mixin selector
      official a Ldvv;a:Ldvw;
      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

      private int maxKeyNameLength
      Mappings:
      Namespace Name Mixin selector
      official o Ldvv;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> Ldvv;<init>(Ldvw;Ldqk;)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 Ldrq;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 Ldrq;d()I
      intermediary method_25322 Lnet/minecraft/class_350;method_25322()I
      named getRowWidth Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I