@Environment(value=CLIENT) public class ControlsListWidget extends ElementListWidget<ControlsListWidget.Entry>
| Modifier and Type | Class and Description |
|---|---|
class |
ControlsListWidget.CategoryEntry |
static class |
ControlsListWidget.Entry |
class |
ControlsListWidget.KeyBindingEntry |
EntryListWidget.MoveDirection| Modifier and Type | Field and Description |
|---|---|
private int |
maxKeyNameLength |
private ControlsOptionsScreen |
parent |
bottom, centerListVertically, client, headerHeight, height, itemHeight, left, right, top, widthGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
ControlsListWidget(ControlsOptionsScreen parent,
MinecraftClient client) |
| Modifier and Type | Method and Description |
|---|---|
int |
getRowWidth() |
protected int |
getScrollbarPositionX() |
changeFocus, isSelectedItemaddEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getEntry, getEntryAtPosition, getFocused, getItemCount, getMaxPosition, getMaxScroll, getRowLeft, getRowTop, getScrollAmount, getSelected, isFocused, isMouseOver, keyPressed, method_30015, method_31322, method_31323, method_31383, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelectionIf, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderHeader, setRenderSelection, setScrollAmount, setSelected, updateScrollingState, updateSizeisDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, focusOn, hoveredElement, keyReleased, setInitialFocusmouseMovedprivate final ControlsOptionsScreen parent
private int maxKeyNameLength
public ControlsListWidget(ControlsOptionsScreen parent, MinecraftClient client)
protected int getScrollbarPositionX()
getScrollbarPositionX in class EntryListWidget<ControlsListWidget.Entry>public int getRowWidth()
getRowWidth in class EntryListWidget<ControlsListWidget.Entry>