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

fih
net.minecraft.client.gui.components.AbstractSelectionList
net.minecraft.class_350
net.minecraft.client.gui.widget.EntryListWidget
net.minecraft.src.C_3443_

Field summary

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

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)
m_93473_(boolean p_93475_, int arg1)
public int
b()
getRowWidth()
method_25322()
getRowWidth()
m_5759_()
public E
h()
getSelected()
method_25334()
getSelectedOrNull()
m_93511_()
public void
a(E arg0)
setSelected(E arg0)
method_25313(E arg0)
setSelected(E entry)
m_6987_(E arg0)
public E
i()
getFirstElement()
method_48200()
getFirst()
m_264567_()
public E
j()
getFocused()
method_25336()
getFocused()
m_7222_()
public final List<E>
aK_()
children()
method_25396()
children()
m_6702_()
protected void
k()
clearEntries()
method_25339()
clearEntries()
m_93516_()
protected void
a(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
method_25314(Collection<E> arg0)
replaceEntries(Collection<E> newEntries)
m_5988_(Collection<E> arg0)
protected E
d(int arg0)
getEntry(int arg0)
method_25326(int arg0)
getEntry(int index)
m_93500_(int arg0)
protected int
b(E arg0)
addEntry(E arg0)
method_25321(E arg0)
addEntry(E entry)
m_7085_(E arg0)
protected void
c(E arg0)
addEntryToTop(E arg0)
method_44399(E arg0)
addEntryToTop(E entry)
m_239857_(E arg0)
protected boolean
d(E arg0)
removeEntryFromTop(E arg0)
method_44650(E arg0)
removeEntryWithoutScrolling(E entry)
m_239045_(E arg0)
protected int
l()
getItemCount()
method_25340()
getEntryCount()
m_5773_()
protected boolean
e(int arg0)
isSelectedItem(int arg0)
method_25332(int arg0)
isSelectedEntry(int index)
m_7987_(int arg0)
protected final E
b(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
method_25308(double arg0, double arg1)
getEntryAtPosition(double x, double y)
m_93412_(double p_93414_, double arg1)
public void
a(int arg0, flz arg1)
updateSize(int arg0, HeaderAndFooterLayout arg1)
method_57712(int arg0, class_8132 arg1)
position(int width, ThreePartsLayoutWidget layout)
m_319425_(int p_331081_, C_268377_ arg1)
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)
m_321569_(int p_333730_, int p_328806_, int arg2)
protected int
a()
getMaxPosition()
method_25317()
getMaxPosition()
m_5775_()
protected boolean
a(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
method_25310(int arg0, int arg1)
clickedHeader(int x, int y)
m_6205_(int p_93432_, int arg1)
protected void
a(fhz 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)
m_7415_(C_279497_ p_93444_, int p_93445_, int arg2)
protected void
b(fhz 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)
m_7154_(C_279497_ p_93459_, int p_93460_, int arg2)
public void
b(fhz 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)
m_87963_(C_279497_ p_283242_, int p_282891_, int p_283683_, float arg3)
protected boolean
m()
scrollbarVisible()
method_57717()
isScrollbarVisible()
m_324471_()
protected void
a(fhz arg0)
renderListSeparators(GuiGraphics arg0)
method_57713(class_332 arg0)
drawHeaderAndFooterSeparators(DrawContext context)
m_319011_(C_279497_ arg0)
protected void
b(fhz arg0)
renderListBackground(GuiGraphics arg0)
method_57715(class_332 arg0)
drawMenuListBackground(DrawContext context)
m_323247_(C_279497_ arg0)
protected void
c(fhz arg0)
enableScissor(GuiGraphics arg0)
method_49603(class_332 arg0)
enableScissor(DrawContext context)
m_280310_(C_279497_ arg0)
protected void
e(E arg0)
centerScrollOn(E arg0)
method_25324(E arg0)
centerScrollOn(E entry)
m_93494_(E arg0)
protected void
f(E arg0)
ensureVisible(E arg0)
method_25328(E arg0)
ensureVisible(E entry)
m_93498_(E arg0)
private void
a(int arg0)
scroll(int arg0)
method_25309(int arg0)
scroll(int amount)
m_93429_(int arg0)
public double
n()
getScrollAmount()
method_25341()
getScrollAmount()
m_93517_()
public void
a(double arg0)
setClampedScrollAmount(double arg0)
method_60321(double arg0)
setScrollAmountOnly(double amount)
m_340570_(double arg0)
public void
b(double arg0)
setScrollAmount(double arg0)
method_25307(double arg0)
setScrollAmount(double amount)
m_93410_(double arg0)
public void
o()
clampScrollAmount()
method_60322()
refreshScroll()
m_340250_()
public int
p()
getMaxScroll()
method_25331()
getMaxScroll()
m_93518_()
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)
m_93481_(double p_93483_, double arg1, int arg2)
protected int
q()
getScrollbarPosition()
method_25329()
getScrollbarX()
m_5756_()
protected int
r()
getDefaultScrollbarPosition()
method_57718()
getDefaultScrollbarX()
m_319264_()
private int
c()
getListOutlinePadding()
method_57716()
getScrollbarMarginX()
m_321155_()
protected boolean
f(int arg0)
isValidMouseClick(int arg0)
method_53812(int arg0)
isSelectButton(int button)
m_293852_(int arg0)
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)
m_6375_(double p_93421_, 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)
m_6348_(double p_93492_, 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)
m_7979_(double p_93425_, double p_93427_, 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)
m_6050_(double p_93417_, double p_298552_, double arg2, double arg3)
public void
a(fki arg0)
setFocused(GuiEventListener arg0)
method_25395(class_364 arg0)
setFocused(Element arg0)
m_7522_(C_3495_ arg0)
protected E
a(fmq arg0)
nextEntry(ScreenDirection arg0)
method_48197(class_8028 arg0)
getNeighboringEntry(NavigationDirection direction)
m_264254_(C_263621_ arg0)
protected E
a(fmq arg0, Predicate<E> arg1)
nextEntry(ScreenDirection arg0, Predicate<E> arg1)
method_48198(class_8028 arg0, Predicate<E> arg1)
getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate)
m_264620_(C_263621_ p_265604_, Predicate<E> arg1)
protected E
a(fmq 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)
m_264238_(C_263621_ p_265109_, Predicate<E> p_265379_, E arg2)
public boolean
c(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_5953_(double p_93480_, double arg1)
protected void
c(fhz 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)
m_239227_(C_279497_ p_239229_, int p_239230_, int p_239231_, float arg3)
protected void
a(fhz 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)
m_238964_(C_279497_ p_238966_, int p_238967_, int p_238968_, float p_238969_, int p_238970_, int p_238971_, int p_238972_, int p_238973_, int arg8)
protected void
a(fhz 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)
m_240140_(C_279497_ p_240142_, int p_240143_, int p_240144_, int p_240145_, int p_240146_, int arg5)
public int
s()
getRowLeft()
method_25342()
getRowLeft()
m_5747_()
private int
J()
getRealRowLeft()
method_57710()
getBorderBoxLeft()
m_325018_()
public int
t()
getRowRight()
method_31383()
getRowRight()
m_93520_()
private int
K()
getRealRowRight()
method_57711()
getBorderBoxRight()
m_323514_()
protected int
g(int arg0)
getRowTop(int arg0)
method_25337(int arg0)
getRowTop(int index)
m_7610_(int arg0)
protected int
h(int arg0)
getRowBottom(int arg0)
method_25319(int arg0)
getRowBottom(int index)
m_93485_(int arg0)
public NarratableEntry$NarrationPriority
u()
narrationPriority()
method_37018()
getType()
m_142684_()
protected E
i(int arg0)
remove(int arg0)
method_25338(int arg0)
remove(int index)
m_93514_(int arg0)
protected boolean
g(E arg0)
removeEntry(E arg0)
method_25330(E arg0)
removeEntry(E entry)
m_93502_(E arg0)
protected E
v()
getHovered()
method_37019()
getHoveredEntry()
m_168795_()
void
h(fih$a<E> arg0)
bindEntryToSelf(AbstractSelectionList$Entry<E> arg0)
method_29621(class_350$class_351<E> arg0)
setEntryParentList(EntryListWidget$Entry<E> entry)
m_93505_(C_3443_$C_3445_<E> arg0)
protected void
a(fmi arg0, E arg1)
narrateListElementPosition(NarrationElementOutput arg0, E arg1)
method_37017(class_6382 arg0, E arg1)
appendNarrations(NarrationMessageBuilder builder, E entry)
m_168790_(C_141608_ p_168792_, E arg1)