Class ControlsListWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.widget.EntryListWidget<E>
net.minecraft.client.gui.widget.ElementListWidget<ControlsListWidget.Entry>
net.minecraft.client.gui.screen.option.ControlsListWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,ParentElement
,Selectable
@Environment(CLIENT)
public class ControlsListWidget
extends ElementListWidget<ControlsListWidget.Entry>
- Mappings:
Namespace Name official ela
intermediary net/minecraft/class_459
named net/minecraft/client/gui/screen/option/ControlsListWidget
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static class
class
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.MoveDirection
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget
appendNarrations, changeFocus, getType, isSelectedEntry
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, appendNarrations, centerScrollOn, children, clearEntries, clickedHeader, ensureSelectedEntryVisible, ensureVisible, getEntry, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelectedOrNull, isFocused, isMouseOver, keyPressed, method_35721, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelectionIf, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderHorizontalShadows, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSize
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, keyReleased, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.Selectable
isNarratable
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector official a
Lela;a:Lelb;
intermediary field_2735
Lnet/minecraft/class_459;field_2735:Lnet/minecraft/class_6599;
named parent
Lnet/minecraft/client/gui/screen/option/ControlsListWidget;parent:Lnet/minecraft/client/gui/screen/option/KeybindsScreen;
-
maxKeyNameLength
int maxKeyNameLength- Mappings:
Namespace Name Mixin selector official o
Lela;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
- Mappings:
Namespace Name Mixin selector official <init>
Lela;<init>(Lelb;Leeu;)V
intermediary <init>
Lnet/minecraft/class_459;<init>(Lnet/minecraft/class_6599;Lnet/minecraft/class_310;)V
named <init>
Lnet/minecraft/client/gui/screen/option/ControlsListWidget;<init>(Lnet/minecraft/client/gui/screen/option/KeybindsScreen;Lnet/minecraft/client/MinecraftClient;)V
-
-
Method Details
-
getScrollbarPositionX
protected int getScrollbarPositionX()- Overrides:
getScrollbarPositionX
in classEntryListWidget<ControlsListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official d
Legn;d()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 classEntryListWidget<ControlsListWidget.Entry>
- Mappings:
Namespace Name Mixin selector official c
Legn;c()I
intermediary method_25322
Lnet/minecraft/class_350;method_25322()I
named getRowWidth
Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I
-