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> pOptions, Screen pScreen) List
<? extends GuiEventListener> children()
List
<? extends NarratableEntry> void
render
(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) static OptionsList.Entry
small
(AbstractWidget pLeftOption, AbstractWidget pRightOption, Screen pScreen) 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> pChildren, Screen pScreen)
-
-
Method Details
-
big
-
small
public static OptionsList.Entry small(AbstractWidget pLeftOption, @Nullable AbstractWidget pRightOption, Screen pScreen) -
render
public void render(GuiGraphics pGuiGraphics, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pHovering, float pPartialTick) - Specified by:
render
in classAbstractSelectionList.Entry<OptionsList.Entry>
-
children
-
narratables
- Specified by:
narratables
in classContainerObjectSelectionList.Entry<OptionsList.Entry>
-