Class AbstractOptionList<E extends AbstractOptionList.Entry<E>>
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<E>
- All Implemented Interfaces:
IGuiEventListener,INestedGuiEventHandler,IRenderable
- Direct Known Subclasses:
EditGamerulesScreen.GamerulesList,FilterList,KeyBindingList,OptionsRowList
public abstract class AbstractOptionList<E extends AbstractOptionList.Entry<E>>
extends AbstractList<E>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractOptionList.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, y1Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION -
Constructor Summary
ConstructorsConstructorDescriptionAbstractOptionList(Minecraft p_i51139_1_, int p_i51139_2_, int p_i51139_3_, int p_i51139_4_, int p_i51139_5_, int p_i51139_6_) -
Method Summary
Modifier and TypeMethodDescriptionbooleanchangeFocus(boolean p_231049_1_) protected booleanisSelectedItem(int p_230957_1_) 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, getRowWidth, getScrollAmount, getScrollbarPosition, 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, updateSizeMethods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMovedMethods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
Constructor Details
-
AbstractOptionList
public AbstractOptionList(Minecraft p_i51139_1_, int p_i51139_2_, int p_i51139_3_, int p_i51139_4_, int p_i51139_5_, int p_i51139_6_)
-
-
Method Details
-
changeFocus
public boolean changeFocus(boolean p_231049_1_) -
isSelectedItem
protected boolean isSelectedItem(int p_230957_1_) - Overrides:
isSelectedItemin classAbstractList<E extends AbstractOptionList.Entry<E>>
-