Class OptionsRowList
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- net.minecraft.client.gui.FocusableGui
-
- net.minecraft.client.gui.widget.list.AbstractList<E>
-
- net.minecraft.client.gui.widget.list.AbstractOptionList<OptionsRowList.Row>
-
- net.minecraft.client.gui.widget.list.OptionsRowList
-
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
public class OptionsRowList extends AbstractOptionList<OptionsRowList.Row>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OptionsRowList.Row
-
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractOptionList
AbstractOptionList.Entry<E extends AbstractOptionList.Entry<E>>
-
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractList
AbstractList.AbstractListEntry<E extends AbstractList.AbstractListEntry<E>>, AbstractList.Ordering, AbstractList.SimpleArrayList
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
-
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
-
Constructor Summary
Constructors Constructor Description OptionsRowList(Minecraft p_i51130_1_, int p_i51130_2_, int p_i51130_3_, int p_i51130_4_, int p_i51130_5_, int p_i51130_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
addBig(AbstractOption p_214333_1_)
void
addSmall(AbstractOption[] p_214335_1_)
void
addSmall(AbstractOption p_214334_1_, AbstractOption p_214334_2_)
Widget
findOption(AbstractOption p_243271_1_)
java.util.Optional<Widget>
getMouseOver(double p_238518_1_, double p_238518_3_)
int
getRowWidth()
protected int
getScrollbarPosition()
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractOptionList
changeFocus, isSelectedItem
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRight, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, getTop, getWidth, isFocused, isMouseOver, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, render, renderBackground, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, setSelected, updateScrollingState, updateSize
-
Methods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocused
-
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
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.IGuiEventListener
mouseMoved
-
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
-
-
-
Constructor Detail
-
OptionsRowList
public OptionsRowList(Minecraft p_i51130_1_, int p_i51130_2_, int p_i51130_3_, int p_i51130_4_, int p_i51130_5_, int p_i51130_6_)
-
-
Method Detail
-
addBig
public int addBig(AbstractOption p_214333_1_)
-
addSmall
public void addSmall(AbstractOption p_214334_1_, @Nullable AbstractOption p_214334_2_)
-
addSmall
public void addSmall(AbstractOption[] p_214335_1_)
-
getRowWidth
public int getRowWidth()
- Overrides:
getRowWidth
in classAbstractList<OptionsRowList.Row>
-
getScrollbarPosition
protected int getScrollbarPosition()
- Overrides:
getScrollbarPosition
in classAbstractList<OptionsRowList.Row>
-
findOption
@Nullable public Widget findOption(AbstractOption p_243271_1_)
-
getMouseOver
public java.util.Optional<Widget> getMouseOver(double p_238518_1_, double p_238518_3_)
-
-