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
- 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 Screen
private static final int
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OptionsList.Entry
big
(List<AbstractWidget> options, Screen screen) List
<? extends GuiEventListener> children()
List
<? extends NarratableEntry> void
render
(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) static OptionsList.Entry
small
(AbstractWidget leftOption, AbstractWidget rightOption, Screen screen) Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused, updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getRectangle, isMouseOver, mouseMoved
Methods 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> children, Screen screen)
-
-
Method Details
-
big
-
small
public static OptionsList.Entry small(AbstractWidget leftOption, @Nullable AbstractWidget rightOption, Screen screen) -
render
public void render(GuiGraphics guiGraphics, int index, int top, int left, int width, int height, int mouseX, int mouseY, boolean hovering, float partialTick) - Specified by:
render
in classAbstractSelectionList.Entry<OptionsList.Entry>
-
children
-
narratables
- Specified by:
narratables
in classContainerObjectSelectionList.Entry<OptionsList.Entry>
-