Package net.minecraft.client.gui.widget
Class OptionListWidget
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<OptionListWidget.WidgetEntry>
net.minecraft.client.gui.widget.ElementListWidget<OptionListWidget.WidgetEntry>
net.minecraft.client.gui.widget.OptionListWidget
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- ParentElement,- Selectable,- Widget
@Environment(CLIENT)
public class OptionListWidget
extends ElementListWidget<OptionListWidget.WidgetEntry>
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/widget/OptionListWidget- intermediary - net/minecraft/class_353- official - fpr
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static classprotected static classNested classes/interfaces inherited from class net.minecraft.client.gui.widget.ElementListWidgetElementListWidget.Entry<E extends ElementListWidget.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate final GameOptionsScreenFields inherited from class net.minecraft.client.gui.widget.EntryListWidgetcenterListVertically, client, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidgetSCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionOptionListWidget(MinecraftClient client, int width, GameOptionsScreen optionsScreen) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddAll(List<ClickableWidget> widgets) voidaddAll(SimpleOption<?>[] options) voidaddSingleOptionEntry(SimpleOption<?> option) voidaddWidgetEntry(ClickableWidget firstWidget, @Nullable ClickableWidget secondWidget) voidgetHoveredWidget(double mouseX, double mouseY) intgetWidgetFor(SimpleOption<?> option) Methods inherited from class net.minecraft.client.gui.widget.ElementListWidgetappendClickableNarrations, getNavigationPath, getType, isSelectedEntry, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidgetaddEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getContentsHeightWithPadding, getDeltaYPerScroll, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getScrollbarX, getSelectedOrNull, hoveredElement, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setEntryParentList, setSelected, setSelectedMethods inherited from class net.minecraft.client.gui.widget.ContainerWidgetisDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidgetcheckScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseScrolled, onRelease, overflows, refreshScroll, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementgetBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, getFocusedPath, keyPressed, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
field_49481private static final int field_49481- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_49481- Lnet/minecraft/client/gui/widget/OptionListWidget;field_49481:I- intermediary - field_49481- Lnet/minecraft/class_353;field_49481:I- official - a- Lfpr;a:I
 
- 
field_49482private static final int field_49482- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_49482- Lnet/minecraft/client/gui/widget/OptionListWidget;field_49482:I- intermediary - field_49482- Lnet/minecraft/class_353;field_49482:I- official - m- Lfpr;m:I
 
- 
optionsScreen- Mappings:
- Namespace - Name - Mixin selector - named - optionsScreen- Lnet/minecraft/client/gui/widget/OptionListWidget;optionsScreen:Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;- intermediary - field_49483- Lnet/minecraft/class_353;field_49483:Lnet/minecraft/class_4667;- official - n- Lfpr;n:Lfxq;
 
 
- 
- 
Constructor Details- 
OptionListWidget- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/widget/OptionListWidget;<init>(Lnet/minecraft/client/MinecraftClient;ILnet/minecraft/client/gui/screen/option/GameOptionsScreen;)V- intermediary - <init>- Lnet/minecraft/class_353;<init>(Lnet/minecraft/class_310;ILnet/minecraft/class_4667;)V- official - <init>- Lfpr;<init>(Lflk;ILfxq;)V
 
 
- 
- 
Method Details- 
addSingleOptionEntry- Mappings:
- Namespace - Name - Mixin selector - named - addSingleOptionEntry- Lnet/minecraft/client/gui/widget/OptionListWidget;addSingleOptionEntry(Lnet/minecraft/client/option/SimpleOption;)V- intermediary - method_20406- Lnet/minecraft/class_353;method_20406(Lnet/minecraft/class_7172;)V- official - a- Lfpr;a(Lfln;)V
 
- 
addAll- Mappings:
- Namespace - Name - Mixin selector - named - addAll- Lnet/minecraft/client/gui/widget/OptionListWidget;addAll([Lnet/minecraft/client/option/SimpleOption;)V- intermediary - method_20408- Lnet/minecraft/class_353;method_20408([Lnet/minecraft/class_7172;)V- official - a- Lfpr;a([Lfln;)V
 
- 
addAll- Mappings:
- Namespace - Name - Mixin selector - named - addAll- Lnet/minecraft/client/gui/widget/OptionListWidget;addAll(Ljava/util/List;)V- intermediary - method_58227- Lnet/minecraft/class_353;method_58227(Ljava/util/List;)V- official - a- Lfpr;a(Ljava/util/List;)V
 
- 
addWidgetEntrypublic void addWidgetEntry(ClickableWidget firstWidget, @Nullable @Nullable ClickableWidget secondWidget) - Mappings:
- Namespace - Name - Mixin selector - named - addWidgetEntry- Lnet/minecraft/client/gui/widget/OptionListWidget;addWidgetEntry(Lnet/minecraft/client/gui/widget/ClickableWidget;Lnet/minecraft/client/gui/widget/ClickableWidget;)V- intermediary - method_20407- Lnet/minecraft/class_353;method_20407(Lnet/minecraft/class_339;Lnet/minecraft/class_339;)V- official - a- Lfpr;a(Lfos;Lfos;)V
 
- 
getRowWidthpublic int getRowWidth()- Overrides:
- getRowWidthin class- EntryListWidget<OptionListWidget.WidgetEntry>
- Mappings:
- Namespace - Name - Mixin selector - named - getRowWidth- Lnet/minecraft/client/gui/widget/EntryListWidget;getRowWidth()I- intermediary - method_25322- Lnet/minecraft/class_350;method_25322()I- official - a- Lfon;a()I
 
- 
getWidgetFor- Mappings:
- Namespace - Name - Mixin selector - named - getWidgetFor- Lnet/minecraft/client/gui/widget/OptionListWidget;getWidgetFor(Lnet/minecraft/client/option/SimpleOption;)Lnet/minecraft/client/gui/widget/ClickableWidget;- intermediary - method_31046- Lnet/minecraft/class_353;method_31046(Lnet/minecraft/class_7172;)Lnet/minecraft/class_339;- official - b- Lfpr;b(Lfln;)Lfos;
 
- 
applyAllPendingValuespublic void applyAllPendingValues()- Mappings:
- Namespace - Name - Mixin selector - named - applyAllPendingValues- Lnet/minecraft/client/gui/widget/OptionListWidget;applyAllPendingValues()V- intermediary - method_59869- Lnet/minecraft/class_353;method_59869()V- official - b- Lfpr;b()V
 
- 
getHoveredWidget- Mappings:
- Namespace - Name - Mixin selector - named - getHoveredWidget- Lnet/minecraft/client/gui/widget/OptionListWidget;getHoveredWidget(DD)Ljava/util/Optional;- intermediary - method_29624- Lnet/minecraft/class_353;method_29624(DD)Ljava/util/Optional;- official - e- Lfpr;e(DD)Ljava/util/Optional;
 
 
-