net.minecraft.client.gui.components

public abstract class AbstractSelectionList<E extends AbstractSelectionList$Entry<E>>

extends AbstractContainerWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier, ContainerEventHandler

foa
net.minecraft.client.gui.components.AbstractSelectionList
net.minecraft.class_350
net.minecraft.client.gui.widget.EntryListWidget

Field summary

Modifier and TypeField
protected static final int
b
SCROLLBAR_WIDTH
field_45909
field_45909
private static final ResourceLocation
a
SCROLLER_SPRITE
field_45908
SCROLLER_TEXTURE
private static final ResourceLocation
m
SCROLLER_BACKGROUND_SPRITE
field_49477
SCROLLER_BACKGROUND_TEXTURE
private static final ResourceLocation
n
MENU_LIST_BACKGROUND
field_49478
MENU_LIST_BACKGROUND_TEXTURE
private static final ResourceLocation
o
INWORLD_MENU_LIST_BACKGROUND
field_49892
INWORLD_MENU_LIST_BACKGROUND_TEXTURE
protected final Minecraft
c
minecraft
field_22740
client
protected final int
d
itemHeight
field_22741
itemHeight
private final List<E>
p
children
field_22739
children
protected boolean
e
centerListVertically
field_22744
centerListVertically
private double
q
scrollAmount
field_22749
scrollAmount
private boolean
r
renderHeader
field_22747
renderHeader
protected int
f
headerHeight
field_22748
headerHeight
private boolean
s
scrolling
field_22750
scrolling
private E
u
selected
field_22751
selected
private E
v
hovered
field_33780
hoveredEntry

Constructor summary

ModifierConstructor
public (Minecraft client, int width, int height, int y, int itemHeight)

Method summary

Modifier and TypeMethod
protected void
a(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
method_25315(boolean arg0, int arg1)
setRenderHeader(boolean renderHeader, int headerHeight)
public E
g()
getSelected()
method_25334()
getSelectedOrNull()
public void
a(int arg0)
setSelectedIndex(int arg0)
method_64847(int arg0)
setSelected(int index)
public void
a(E arg0)
setSelected(E arg0)
method_25313(E arg0)
setSelected(E entry)
public E
h()
getFirstElement()
method_48200()
getFirst()
public E
i()
getFocused()
method_25336()
getFocused()
public final List<E>
aI_()
children()
method_25396()
children()
protected void
j()
clearEntries()
method_25339()
clearEntries()
public void
a(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
method_25314(Collection<E> arg0)
replaceEntries(Collection<E> newEntries)
protected E
b(int arg0)
getEntry(int arg0)
method_25326(int arg0)
getEntry(int index)
protected int
b(E arg0)
addEntry(E arg0)
method_25321(E arg0)
addEntry(E entry)
protected void
c(E arg0)
addEntryToTop(E arg0)
method_44399(E arg0)
addEntryToTop(E entry)
protected boolean
d(E arg0)
removeEntryFromTop(E arg0)
method_44650(E arg0)
removeEntryWithoutScrolling(E entry)
protected int
k()
getItemCount()
method_25340()
getEntryCount()
protected boolean
c(int arg0)
isSelectedItem(int arg0)
method_25332(int arg0)
isSelectedEntry(int index)
protected final E
b(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
method_25308(double arg0, double arg1)
getEntryAtPosition(double x, double y)
public void
a(int arg0, fru arg1)
updateSize(int arg0, HeaderAndFooterLayout arg1)
method_57712(int arg0, class_8132 arg1)
position(int width, ThreePartsLayoutWidget layout)
public void
b(int arg0, int arg1, int arg2)
updateSizeAndPosition(int arg0, int arg1, int arg2)
method_57714(int arg0, int arg1, int arg2)
position(int width, int height, int y)
protected int
l()
getMaxPosition()
method_25317()
getMaxPosition()
protected boolean
a(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
method_25310(int arg0, int arg1)
clickedHeader(int x, int y)
protected void
a(fns arg0, int arg1, int arg2)
renderHeader(GuiGraphics arg0, int arg1, int arg2)
method_25312(class_332 arg0, int arg1, int arg2)
renderHeader(DrawContext context, int x, int y)
protected void
b(fns arg0, int arg1, int arg2)
renderDecorations(GuiGraphics arg0, int arg1, int arg2)
method_25320(class_332 arg0, int arg1, int arg2)
renderDecorations(DrawContext context, int mouseX, int mouseY)
public void
b(fns arg0, int arg1, int arg2, float arg3)
renderWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_48579(class_332 arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
protected boolean
m()
scrollbarVisible()
method_57717()
isScrollbarVisible()
protected void
a(fns arg0)
renderListSeparators(GuiGraphics arg0)
method_57713(class_332 arg0)
drawHeaderAndFooterSeparators(DrawContext context)
protected void
b(fns arg0)
renderListBackground(GuiGraphics arg0)
method_57715(class_332 arg0)
drawMenuListBackground(DrawContext context)
protected void
c(fns arg0)
enableScissor(GuiGraphics arg0)
method_49603(class_332 arg0)
enableScissor(DrawContext context)
protected void
e(E arg0)
centerScrollOn(E arg0)
method_25324(E arg0)
centerScrollOn(E entry)
protected void
f(E arg0)
ensureVisible(E arg0)
method_25328(E arg0)
ensureVisible(E entry)
private void
n(int arg0)
scroll(int arg0)
method_25309(int arg0)
scroll(int amount)
public double
n()
getScrollAmount()
method_25341()
getScrollAmount()
public void
a(double arg0)
setClampedScrollAmount(double arg0)
method_60321(double arg0)
setScrollAmountOnly(double amount)
public void
b(double arg0)
setScrollAmount(double arg0)
method_25307(double arg0)
setScrollAmount(double amount)
public void
o()
clampScrollAmount()
method_60322()
refreshScroll()
public int
p()
getMaxScroll()
method_25331()
getMaxScroll()
protected void
c(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
method_25318(double arg0, double arg1, int arg2)
updateScrollingState(double mouseX, double mouseY, int button)
protected int
q()
getScrollbarPosition()
method_25329()
getScrollbarX()
protected int
r()
getDefaultScrollbarPosition()
method_57718()
getDefaultScrollbarX()
private int
b()
getListOutlinePadding()
method_57716()
getScrollbarMarginX()
protected boolean
d(int arg0)
isValidMouseClick(int arg0)
method_53812(int arg0)
isSelectButton(int button)
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
b(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
method_25406(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
public boolean
a(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
method_25403(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
a(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
method_25401(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
public void
a(fqd arg0)
setFocused(GuiEventListener arg0)
method_25395(class_364 arg0)
setFocused(Element arg0)
protected E
a(fsl arg0)
nextEntry(ScreenDirection arg0)
method_48197(class_8028 arg0)
getNeighboringEntry(NavigationDirection direction)
protected E
a(fsl arg0, Predicate<E> arg1)
nextEntry(ScreenDirection arg0, Predicate<E> arg1)
method_48198(class_8028 arg0, Predicate<E> arg1)
getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate)
protected E
a(fsl arg0, Predicate<E> arg1, E arg2)
nextEntry(ScreenDirection arg0, Predicate<E> arg1, E arg2)
method_48199(class_8028 arg0, Predicate<E> arg1, E arg2)
getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate, E selected)
public boolean
c(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
protected void
c(fns arg0, int arg1, int arg2, float arg3)
renderListItems(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25311(class_332 arg0, int arg1, int arg2, float arg3)
renderList(DrawContext context, int mouseX, int mouseY, float delta)
protected void
a(fns arg0, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
renderItem(GuiGraphics arg0, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
method_44397(class_332 arg0, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
renderEntry(DrawContext context, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight)
protected void
a(fns arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
renderSelection(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_44398(class_332 arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
drawSelectionHighlight(DrawContext context, int y, int entryWidth, int entryHeight, int borderColor, int fillColor)
public int
s()
getRowLeft()
method_25342()
getRowLeft()
private int
c()
getRealRowLeft()
method_57710()
getBorderBoxLeft()
public int
t()
getRowRight()
method_31383()
getRowRight()
private int
J()
getRealRowRight()
method_57711()
getBorderBoxRight()
public int
e(int arg0)
getRowTop(int arg0)
method_25337(int arg0)
getRowTop(int index)
public int
f(int arg0)
getRowBottom(int arg0)
method_25319(int arg0)
getRowBottom(int index)
public int
a()
getRowWidth()
method_25322()
getRowWidth()
public NarratableEntry$NarrationPriority
u()
narrationPriority()
method_37018()
getType()
protected E
g(int arg0)
remove(int arg0)
method_25338(int arg0)
remove(int index)
protected boolean
g(E arg0)
removeEntry(E arg0)
method_25330(E arg0)
removeEntry(E entry)
protected E
v()
getHovered()
method_37019()
getHoveredEntry()
void
h(foa$a<E> arg0)
bindEntryToSelf(AbstractSelectionList$Entry<E> arg0)
method_29621(class_350$class_351<E> arg0)
setEntryParentList(EntryListWidget$Entry<E> entry)
protected void
a(fsd arg0, E arg1)
narrateListElementPosition(NarrationElementOutput arg0, E arg1)
method_37017(class_6382 arg0, E arg1)
appendNarrations(NarrationMessageBuilder builder, E entry)