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 TypeFieldDescriptionprivate final List<OptionsList.OptionInstanceWidget> private final Screenprivate static final intFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateEntry(List<OptionsList.OptionInstanceWidget> widgets, Screen screen) -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionsList.Entrybig(Options options, OptionInstance<?> optionInstance, Screen screen) List<? extends GuiEventListener> children()@Nullable AbstractWidgetfindOption(OptionInstance<?> option) List<? extends NarratableEntry> voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) static OptionsList.Entrysmall(AbstractWidget leftWidget, @Nullable AbstractWidget rightWidget, Screen screen) static OptionsList.Entrysmall(AbstractWidget leftWidget, OptionInstance<?> leftWidgetOptionInstance, @Nullable AbstractWidget rightWidget, Screen screen) static OptionsList.Entrysmall(Options options, OptionInstance<?> optionA, @Nullable OptionInstance<?> optionB, OptionsSubScreen screen) Methods inherited from class ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused, updateNarrationMethods inherited from class 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
children
-
screen
-
X_OFFSET
private static final int X_OFFSET- See Also:
-
-
Constructor Details
-
Entry
-
-
Method Details
-
big
public static OptionsList.Entry big(Options options, OptionInstance<?> optionInstance, Screen screen) -
small
public static OptionsList.Entry small(AbstractWidget leftWidget, @Nullable AbstractWidget rightWidget, Screen screen) -
small
public static OptionsList.Entry small(AbstractWidget leftWidget, OptionInstance<?> leftWidgetOptionInstance, @Nullable AbstractWidget rightWidget, Screen screen) -
small
public static OptionsList.Entry small(Options options, OptionInstance<?> optionA, @Nullable OptionInstance<?> optionB, OptionsSubScreen screen) -
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<OptionsList.AbstractEntry>
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<OptionsList.AbstractEntry>
-
findOption
-