Class OptionsList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<OptionsList.AbstractEntry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<OptionsList.AbstractEntry>
net.minecraft.client.gui.components.OptionsList.AbstractEntry
net.minecraft.client.gui.components.OptionsList.Entry
- All Implemented Interfaces:
ContainerEventHandler,GuiEventListener,TabOrderedElement,LayoutElement
- Enclosing class:
OptionsList
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final List<OptionsList.OptionInstanceWidget> private final Screenprivate static final intFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEntry(List<OptionsList.OptionInstanceWidget> children, Screen screen) -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionsList.Entrybig(Options options, OptionInstance<?> option, Screen screen) List<? extends GuiEventListener> children()@Nullable AbstractWidgetfindOption(OptionInstance<?> optionInstance) List<? extends NarratableEntry> voidrenderContent(GuiGraphics p_440603_, int p_440287_, int p_439324_, boolean p_439478_, float p_440210_) static OptionsList.Entrysmall(AbstractWidget leftOption, @Nullable AbstractWidget rightOption, Screen screen) static OptionsList.Entrysmall(AbstractWidget leftOption, OptionInstance<?> leftOptionInstance, @Nullable AbstractWidget rightOption, Screen screen) static OptionsList.Entrysmall(Options options, OptionInstance<?> leftOption, @Nullable OptionInstance<?> rightOption, OptionsSubScreen screen) 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
-
-
Method Details
-
big
-
small
public static OptionsList.Entry small(AbstractWidget leftOption, @Nullable AbstractWidget rightOption, Screen screen) -
small
public static OptionsList.Entry small(AbstractWidget leftOption, OptionInstance<?> leftOptionInstance, @Nullable AbstractWidget rightOption, Screen screen) -
small
public static OptionsList.Entry small(Options options, OptionInstance<?> leftOption, @Nullable OptionInstance<?> rightOption, OptionsSubScreen screen) -
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.AbstractEntry>
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<OptionsList.AbstractEntry>
-
findOption
-