Package net.minecraft.client.gui.widget
Class OptionPairWidget
java.lang.Object
net.minecraft.client.gui.widget.ListWidget
net.minecraft.client.gui.widget.EntryListWidget
net.minecraft.client.gui.widget.OptionPairWidget
- Mappings:
Namespace Name official awfintermediary net/minecraft/class_1804named net/minecraft/client/gui/widget/OptionPairWidget
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.widget.EntryListWidget
EntryListWidget.Entry -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ListWidget
client, entryHeight, field_1254, field_1256, field_7735, headerHeight, height, lastMouseX, lastMouseY, renderHeader, renderSelection, scrollAmount, time, visible, width, xEnd, xStart, yDrag, yEnd, yStart -
Constructor Summary
ConstructorsConstructorDescriptionOptionPairWidget(MinecraftClient client, int width, int height, int top, int bottom, int entryHeight, GameOptions.Option[] options) -
Method Summary
Modifier and TypeMethodDescriptionprivate ButtonWidgetcreateWidget(MinecraftClient client, int x, int y, GameOptions.Option option) getEntry(int int2) protected intintprotected intMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
isEntrySelected, mouseClicked, mouseReleased, renderBackground, renderEntry, selectEntry, updateItemPositionMethods inherited from class net.minecraft.client.gui.widget.ListWidget
buttonClicked, capYPosition, clickedHeader, getEntryAt, getItemHeight, getMaxPosition, getMaxScroll, getScrollAmount, handleMouse, isDragging, isMouseInList, render, renderDecorations, renderHeader, renderHoleBackground, renderList, scroll, setButtonIds, setDragging, setHeader, setRenderSelection, setXPos, updateBounds
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector official uLawf;u:Ljava/util/List;intermediary field_7729Lnet/minecraft/class_1804;field_7729:Ljava/util/List;named entriesLnet/minecraft/client/gui/widget/OptionPairWidget;entries:Ljava/util/List;
-
-
Constructor Details
-
OptionPairWidget
public OptionPairWidget(MinecraftClient client, int width, int height, int top, int bottom, int entryHeight, GameOptions.Option[] options) - Mappings:
Namespace Name Mixin selector official <init>Lawf;<init>(Lave;IIIII[Lavh$a;)Vintermediary <init>Lnet/minecraft/class_1804;<init>(Lnet/minecraft/class_1600;IIIII[Lnet/minecraft/class_347$class_350;)Vnamed <init>Lnet/minecraft/client/gui/widget/OptionPairWidget;<init>(Lnet/minecraft/client/MinecraftClient;IIIII[Lnet/minecraft/client/options/GameOptions$Option;)V
-
-
Method Details
-
createWidget
- Mappings:
Namespace Name Mixin selector official aLawf;a(Lave;IILavh$a;)Lavs;intermediary method_6702Lnet/minecraft/class_1804;method_6702(Lnet/minecraft/class_1600;IILnet/minecraft/class_347$class_350;)Lnet/minecraft/class_356;named createWidgetLnet/minecraft/client/gui/widget/OptionPairWidget;createWidget(Lnet/minecraft/client/MinecraftClient;IILnet/minecraft/client/options/GameOptions$Option;)Lnet/minecraft/client/gui/widget/ButtonWidget;
-
getEntry
- Specified by:
getEntryin classEntryListWidget- Mappings:
Namespace Name Mixin selector official cLawf;c(I)Lawf$a;intermediary method_6703Lnet/minecraft/class_1804;method_6703(I)Lnet/minecraft/class_1804$class_1805;named getEntryLnet/minecraft/client/gui/widget/OptionPairWidget;getEntry(I)Lnet/minecraft/client/gui/widget/OptionPairWidget$Pair;
-
getEntryCount
protected int getEntryCount()- Specified by:
getEntryCountin classListWidget- Mappings:
Namespace Name Mixin selector official bLawi;b()Iintermediary method_1050Lnet/minecraft/class_390;method_1050()Inamed getEntryCountLnet/minecraft/client/gui/widget/ListWidget;getEntryCount()I
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classListWidget- Mappings:
Namespace Name Mixin selector official cLawi;c()Iintermediary method_6706Lnet/minecraft/class_390;method_6706()Inamed getRowWidthLnet/minecraft/client/gui/widget/ListWidget;getRowWidth()I
-
getScrollbarPosition
protected int getScrollbarPosition()- Overrides:
getScrollbarPositionin classListWidget- Mappings:
Namespace Name Mixin selector official dLawi;d()Iintermediary method_1069Lnet/minecraft/class_390;method_1069()Inamed getScrollbarPositionLnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
-