Package net.minecraft.client.gui.screen
Class DebugOptionsScreen.OptionsListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<DebugOptionsScreen.AbstractEntry>
net.minecraft.client.gui.widget.ElementListWidget<DebugOptionsScreen.AbstractEntry>
net.minecraft.client.gui.screen.DebugOptionsScreen.OptionsListWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,ParentElement,Selectable,Widget
- Enclosing class:
DebugOptionsScreen
@Environment(CLIENT)
class DebugOptionsScreen.OptionsListWidget
extends ElementListWidget<DebugOptionsScreen.AbstractEntry>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/DebugOptionsScreen$OptionsListWidgetintermediary net/minecraft/class_11644$class_11648official gmv$d
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.ElementListWidget
ElementListWidget.Entry<E extends ElementListWidget.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator<Map.Entry<Identifier, DebugHudEntry>> private static final intFields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfillEntries(String searchString) intvoidinit()private voidvoidrenderWidget(DrawContext context, int mouseX, int mouseY, float deltaTicks) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget
appendClickableNarrations, getNavigationPath, getType, isEntrySelectionAllowed, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntry, addEntryToTop, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clearEntriesExcept, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, getContentsHeightWithPadding, getDeltaYPerScroll, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, getYOfNextEntry, hoveredElement, position, position, position, removeEntries, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, replaceEntries, scrollTo, setFocused, setScrollY, setSelected, sort, swapEntriesOnPositionsMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDraggingMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, method_74038, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, getNavigationFocus, isClickable, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
ENTRY_COMPARATOR
- Mappings:
Namespace Name Mixin selector named ENTRY_COMPARATORLnet/minecraft/client/gui/screen/DebugOptionsScreen$OptionsListWidget;ENTRY_COMPARATOR:Ljava/util/Comparator;intermediary field_61658Lnet/minecraft/class_11644$class_11648;field_61658:Ljava/util/Comparator;official lLgmv$d;l:Ljava/util/Comparator;
-
ITEM_HEIGHT
private static final int ITEM_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named ITEM_HEIGHTLnet/minecraft/client/gui/screen/DebugOptionsScreen$OptionsListWidget;ITEM_HEIGHT:Iintermediary field_61659Lnet/minecraft/class_11644$class_11648;field_61659:Iofficial mLgmv$d;m:I
-
-
Constructor Details
-
OptionsListWidget
public OptionsListWidget()
-
-
Method Details
-
renderWidget
- Overrides:
renderWidgetin classEntryListWidget<DebugOptionsScreen.AbstractEntry>- Mappings:
Namespace Name Mixin selector named renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vofficial bLgdn;b(Lgdd;IIF)V
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classEntryListWidget<DebugOptionsScreen.AbstractEntry>- Mappings:
Namespace Name Mixin selector named getRowWidthLnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()Iintermediary method_25322Lnet/minecraft/class_350;method_25322()Iofficial aLgdj;a()I
-
init
public void init()- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/DebugOptionsScreen$OptionsListWidget;init()Vintermediary method_72823Lnet/minecraft/class_11644$class_11648;method_72823()Vofficial dLgmv$d;d()V
-
fillEntries
- Mappings:
Namespace Name Mixin selector named fillEntriesLnet/minecraft/client/gui/screen/DebugOptionsScreen$OptionsListWidget;fillEntries(Ljava/lang/String;)Vintermediary method_72821Lnet/minecraft/class_11644$class_11648;method_72821(Ljava/lang/String;)Vofficial aLgmv$d;a(Ljava/lang/String;)V
-
refreshScreen
private void refreshScreen()- Mappings:
Namespace Name Mixin selector named refreshScreenLnet/minecraft/client/gui/screen/DebugOptionsScreen$OptionsListWidget;refreshScreen()Vintermediary method_72820Lnet/minecraft/class_11644$class_11648;method_72820()Vofficial HLgmv$d;H()V
-