Class OptionsList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<OptionsList.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<OptionsList.Entry>
net.minecraft.client.gui.components.OptionsList.Entry
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement,LayoutElement
- Direct Known Subclasses:
OptionsList.OptionEntry
- Enclosing class:
OptionsList
protected static class OptionsList.Entry
extends ContainerObjectSelectionList.Entry<OptionsList.Entry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<AbstractWidget> private final Screenprivate static final intFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionsList.Entrybig(List<AbstractWidget> pOptions, Screen pScreen) List<? extends GuiEventListener> children()List<? extends NarratableEntry> voidrenderContent(GuiGraphics p_440603_, int p_440287_, int p_439324_, boolean p_439478_, float p_440210_) static OptionsList.Entrysmall(AbstractWidget pLeftOption, AbstractWidget pRightOption, Screen pScreen) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
children
-
screen
-
X_OFFSET
private static final int X_OFFSET- See Also:
-
-
Constructor Details
-
Entry
Entry(List<AbstractWidget> pChildren, Screen pScreen)
-
-
Method Details
-
big
-
small
public static OptionsList.Entry small(AbstractWidget pLeftOption, @Nullable AbstractWidget pRightOption, Screen pScreen) -
renderContent
public void renderContent(GuiGraphics p_440603_, int p_440287_, int p_439324_, boolean p_439478_, float p_440210_) - Specified by:
renderContentin classAbstractSelectionList.Entry<OptionsList.Entry>
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<OptionsList.Entry>
-