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
Modifier 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic OptionsList.Entry
big
(List<AbstractWidget> p_333829_, Screen p_334023_) List
<? extends GuiEventListener> children()
List
<? extends NarratableEntry> void
render
(GuiGraphics p_281311_, int p_94497_, int p_94498_, int p_94499_, int p_94500_, int p_94501_, int p_94502_, int p_94503_, boolean p_94504_, float p_94505_) static OptionsList.Entry
small
(AbstractWidget p_333824_, AbstractWidget p_333990_, Screen p_334077_) 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> p_333982_, Screen p_333707_)
-
-
Method Details
-
big
-
small
public static OptionsList.Entry small(AbstractWidget p_333824_, @Nullable AbstractWidget p_333990_, Screen p_334077_) -
render
public void render(GuiGraphics p_281311_, int p_94497_, int p_94498_, int p_94499_, int p_94500_, int p_94501_, int p_94502_, int p_94503_, boolean p_94504_, float p_94505_) - Specified by:
render
in classAbstractSelectionList.Entry<OptionsList.Entry>
-
children
-
narratables
- Specified by:
narratables
in classContainerObjectSelectionList.Entry<OptionsList.Entry>
-