Package net.minecraft.client.gui.widget
Class OptionListWidget.Header
java.lang.Object
net.minecraft.client.gui.widget.EntryListWidget.Entry<OptionListWidget.Component>
net.minecraft.client.gui.widget.ElementListWidget.Entry<OptionListWidget.Component>
net.minecraft.client.gui.widget.OptionListWidget.Component
net.minecraft.client.gui.widget.OptionListWidget.Header
- All Implemented Interfaces:
Element,Navigable,ParentElement,Widget
- Enclosing class:
OptionListWidget
@Environment(CLIENT)
protected static class OptionListWidget.Header
extends OptionListWidget.Component
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/OptionListWidget$Headerintermediary net/minecraft/class_353$class_12143official ggr$c
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
PADDING, parentList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildren()Gets a list of all child GUI elements.voidrender(DrawContext context, int mouseX, int mouseY, boolean hovered, float deltaTicks) Renders an entry in a list.List<? extends Selectable> Methods inherited from class net.minecraft.client.gui.widget.ElementListWidget.Entry
appendNarrations, getFocused, getNavigationPath, getNavigationPath, isDragging, mouseClicked, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget.Entry
forEachChild, getContentBottomEnd, getContentHeight, getContentMiddleX, getContentMiddleY, getContentRightEnd, getContentWidth, getContentX, getContentY, getHeight, getNavigationFocus, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, 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, hoveredElement, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/widget/OptionListWidget$Header;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_63514Lnet/minecraft/class_353$class_12143;field_63514:Lnet/minecraft/class_437;official aLggr$c;a:Lgoo;
-
yOffset
private final int yOffset- Mappings:
Namespace Name Mixin selector named yOffsetLnet/minecraft/client/gui/widget/OptionListWidget$Header;yOffset:Iintermediary field_63515Lnet/minecraft/class_353$class_12143;field_63515:Iofficial bLggr$c;b:I
-
title
- Mappings:
Namespace Name Mixin selector named titleLnet/minecraft/client/gui/widget/OptionListWidget$Header;title:Lnet/minecraft/client/gui/widget/TextWidget;intermediary field_63516Lnet/minecraft/class_353$class_12143;field_63516:Lnet/minecraft/class_7842;official cLggr$c;c:Lghd;
-
-
Constructor Details
-
Header
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/widget/OptionListWidget$Header;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;I)Vintermediary <init>Lnet/minecraft/class_353$class_12143;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;I)Vofficial <init>Lggr$c;<init>(Lgoo;Lym;I)V
-
-
Method Details
-
selectableChildren
- Specified by:
selectableChildrenin classElementListWidget.Entry<OptionListWidget.Component>- Mappings:
Namespace Name Mixin selector named selectableChildrenLnet/minecraft/client/gui/widget/ElementListWidget$Entry;selectableChildren()Ljava/util/List;intermediary method_37025Lnet/minecraft/class_4265$class_4266;method_37025()Ljava/util/List;official bLgfz$a;b()Ljava/util/List;
-
render
Renders an entry in a list.- Specified by:
renderin classEntryListWidget.Entry<OptionListWidget.Component>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/widget/EntryListWidget$Entry;render(Lnet/minecraft/client/gui/DrawContext;IIZF)Vintermediary method_25343Lnet/minecraft/class_350$class_351;method_25343(Lnet/minecraft/class_332;IIZF)Vofficial aLgfn$a;a(Lgfh;IIZF)V
-
children
Gets a list of all child GUI elements.- Mappings:
Namespace Name Mixin selector named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;official aI_Lgja;aI_()Ljava/util/List;
-