Package net.minecraft.client.gui.widget
Class OptionPairWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.class_4121
net.minecraft.client.gui.widget.ListWidget
net.minecraft.client.gui.widget.EntryListWidget<OptionPairWidget.Pair>
net.minecraft.client.gui.widget.OptionPairWidget
- All Implemented Interfaces:
class_4122,class_4123
- Mappings:
Namespace Name official chiintermediary 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.class_4120, EntryListWidget.Entry<E extends EntryListWidget.Entry<E>> -
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.ListWidget
client, entryHeight, field_1256, field_20083, field_7735, headerHeight, height, renderHeader, renderSelection, time, visible, width, xEnd, xStart, yDrag, yEnd, yStartFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
ConstructorsConstructorDescriptionOptionPairWidget(MinecraftClient client, int width, int height, int top, int bottom, int entryHeight, GameOptions.Option[] options) -
Method Summary
Modifier and TypeMethodDescriptionintprotected intprivate static ButtonWidgetmethod_18410(MinecraftClient minecraftClient, int int2, int int3, int int4, GameOptions.Option option) Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
getEntryCount, isEntrySelected, method_1055, method_18398, method_18399, method_18414, method_18416, method_18423, method_9528, renderBackgroundMethods inherited from class net.minecraft.client.gui.widget.ListWidget
capYPosition, charTyped, clickedHeader, getItemHeight, getMaxPosition, getMaxScroll, getScrollAmount, keyPressed, method_18411, method_18412, method_18415, method_18417, method_6704, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, render, renderDecorations, renderHeader, renderHoleBackground, scroll, setHeader, setRenderSelection, setXPos, updateBoundsMethods inherited from class net.minecraft.class_4121
getFocused, method_18421, method_18424, method_18425, method_18426Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradientMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_4122
method_18427, method_18428Methods inherited from interface net.minecraft.class_4123
keyReleased
-
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>Lchi;<init>(Lcft;IIIII[Lcfw$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
-
method_18410
@Nullable private static ButtonWidget method_18410(MinecraftClient minecraftClient, int int2, int int3, int int4, @Nullable GameOptions.Option option) - Mappings:
Namespace Name Mixin selector official bLchi;b(Lcft;IIILcfw$a;)Lcgu;intermediary method_18410Lnet/minecraft/class_1804;method_18410(Lnet/minecraft/class_1600;IIILnet/minecraft/class_347$class_350;)Lnet/minecraft/class_356;named method_18410Lnet/minecraft/client/gui/widget/OptionPairWidget;method_18410(Lnet/minecraft/client/MinecraftClient;IIILnet/minecraft/client/options/GameOptions$Option;)Lnet/minecraft/client/gui/widget/ButtonWidget;
-
getRowWidth
public int getRowWidth()- Overrides:
getRowWidthin classListWidget- Mappings:
Namespace Name Mixin selector official eLchl;e()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 fLchl;f()Iintermediary method_1069Lnet/minecraft/class_390;method_1069()Inamed getScrollbarPositionLnet/minecraft/client/gui/widget/ListWidget;getScrollbarPosition()I
-