net.minecraft.client.gui.components

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

extends AbstractContainerEventHandler implements Renderable, NarratableEntry

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable, NarratableEntry, NarrationSupplier

enw
net.minecraft.client.gui.components.AbstractSelectionList
net.minecraft.class_350
net.minecraft.unmapped.C_nmdfcqgq
net.minecraft.client.gui.widget.EntryListWidget
net.minecraft.client.gui.widget.EntryListWidget
net.minecraft.src.C_3443_

Field summary

Modifier and TypeField
protected final Minecraft
b
minecraft
field_22740
f_wgvjqamc
client
client
f_93386_
protected final int
c
itemHeight
field_22741
f_opumfhwp
itemHeight
itemHeight
f_93387_
private final List<E>
a
children
field_22739
f_nwxfkzcb
children
children
f_93385_
protected int
d
width
field_22742
f_lxqqdjvq
width
width
f_93388_
protected int
e
height
field_22743
f_ogjwapgb
height
height
f_93389_
protected int
f
y0
field_19085
f_luspykpw
top
top
f_93390_
protected int
k
y1
field_19086
f_lcbetpoe
bottom
bottom
f_93391_
protected int
l
x1
field_19087
f_vvstauza
right
right
f_93392_
protected int
m
x0
field_19088
f_owarvuxu
left
left
f_93393_
protected boolean
n
centerListVertically
field_22744
f_qftaiomx
centerListVertically
centerListVertically
f_93394_
private double
p
scrollAmount
field_22749
f_ognrpywe
scrollAmount
scrollAmount
f_93396_
private boolean
q
renderSelection
field_22746
f_txyahjbe
renderSelection
renderSelection
f_93397_
private boolean
r
renderHeader
field_22747
f_ymsrddlp
renderHeader
renderHeader
f_93398_
protected int
o
headerHeight
field_22748
f_ocwvpdlc
headerHeight
headerHeight
f_93395_
private boolean
s
scrolling
field_22750
f_vlzsglsn
scrolling
scrolling
f_93399_
private E
t
selected
field_22751
f_ppgscfga
selected
selected
f_93400_
private boolean
u
renderBackground
field_26846
f_cezudwyw
renderBackground
renderBackground
f_93401_
private boolean
v
renderTopAndBottom
field_26847
f_ylqrfhkw
renderHorizontalShadows
renderHorizontalShadows
f_93402_
private E
w
hovered
field_33780
f_hyyybytd
hoveredEntry
hoveredEntry
f_168789_

Constructor summary

ModifierConstructor
public (Minecraft client, int width, int height, int top, int bottom, int itemHeight)

Method summary

Modifier and TypeMethod
public void
a(boolean arg0)
setRenderSelection(boolean arg0)
method_29344(boolean arg0)
m_ngkztjwh(boolean arg0)
setRenderSelection(boolean renderSelection)
setRenderSelection(boolean renderSelection)
m_93471_(boolean arg0)
protected void
a(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
method_25315(boolean arg0, int arg1)
m_wgvvktvl(boolean arg0, int arg1)
setRenderHeader(boolean renderHeader, int headerHeight)
setRenderHeader(boolean renderHeader, int headerHeight)
m_93473_(boolean p_93475_, int arg1)
public int
b()
getRowWidth()
method_25322()
m_gvcbjhbe()
getRowWidth()
getRowWidth()
m_5759_()
public E
f()
getSelected()
method_25334()
m_jpuncqsm()
getSelectedOrNull()
getSelectedOrNull()
m_93511_()
public void
a(E arg0)
setSelected(E arg0)
method_25313(E arg0)
m_efccelql(E arg0)
setSelected(E entry)
setSelected(E entry)
m_6987_(E arg0)
public E
g()
getFirstElement()
method_48200()
m_ymoufzun()
getFirst()
getFirstChild()
m_264567_()
public void
b(boolean arg0)
setRenderBackground(boolean arg0)
method_31322(boolean arg0)
m_fokugfgq(boolean arg0)
setRenderBackground(boolean renderBackground)
setRenderBackground(boolean renderBackground)
m_93488_(boolean arg0)
public void
c(boolean arg0)
setRenderTopAndBottom(boolean arg0)
method_31323(boolean arg0)
m_tfybcihy(boolean arg0)
setRenderHorizontalShadows(boolean renderHorizontalShadows)
setRenderHorizontalShadows(boolean renderHorizontalShadows)
m_93496_(boolean arg0)
public E
h()
getFocused()
method_25336()
m_mdngqhdo()
getFocused()
getFocused()
m_7222_()
public final List<E>
i()
children()
method_25396()
m_soldxolv()
children()
children()
m_6702_()
protected final void
j()
clearEntries()
method_25339()
m_eyiqobmu()
clearEntries()
clearEntries()
m_93516_()
protected void
a(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
method_25314(Collection<E> arg0)
m_wfpeolts(Collection<E> arg0)
replaceEntries(Collection<E> newEntries)
replaceEntries(Collection<E> newEntries)
m_5988_(Collection<E> arg0)
protected E
d(int arg0)
getEntry(int arg0)
method_25326(int arg0)
m_qkjfpjtf(int arg0)
getEntry(int index)
getEntry(int index)
m_93500_(int arg0)
protected int
b(E arg0)
addEntry(E arg0)
method_25321(E arg0)
m_jbupitjk(E arg0)
addEntry(E entry)
addEntry(E entry)
m_7085_(E arg0)
protected void
c(E arg0)
addEntryToTop(E arg0)
method_44399(E arg0)
m_hnzwcbvf(E arg0)
addEntryToTop(E entry)
addEntryToTop(E entry)
m_239857_(E arg0)
protected boolean
d(E arg0)
removeEntryFromTop(E arg0)
method_44650(E arg0)
m_mkijufgh(E arg0)
removeEntryWithoutScrolling(E entry)
removeEntryFromTop(E entry)
m_239045_(E arg0)
protected int
k()
getItemCount()
method_25340()
m_xwqptkxc()
getEntryCount()
getEntryCount()
m_5773_()
protected boolean
e(int arg0)
isSelectedItem(int arg0)
method_25332(int arg0)
m_jwelxfgu(int arg0)
isSelectedEntry(int index)
isSelectedEntry(int index)
m_7987_(int arg0)
protected final E
a(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
method_25308(double arg0, double arg1)
m_ulzatvjk(double arg0, double arg1)
getEntryAtPosition(double x, double y)
getEntryAtPosition(double x, double y)
m_93412_(double p_93414_, double arg1)
public void
b(int arg0, int arg1, int arg2, int arg3)
updateSize(int arg0, int arg1, int arg2, int arg3)
method_25323(int arg0, int arg1, int arg2, int arg3)
m_rmsywiow(int arg0, int arg1, int arg2, int arg3)
updateSize(int width, int height, int top, int bottom)
updateSize(int width, int height, int top, int bottom)
m_93437_(int p_93439_, int p_93440_, int p_93441_, int arg3)
public void
f(int arg0)
setLeftPos(int arg0)
method_25333(int arg0)
m_frccxogy(int arg0)
setLeftPos(int left)
setLeftPos(int left)
m_93507_(int arg0)
protected int
a()
getMaxPosition()
method_25317()
m_bwaibmbs()
getMaxPosition()
getMaxPosition()
m_5775_()
protected void
a(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
method_25310(int arg0, int arg1)
m_yadjivdx(int arg0, int arg1)
clickedHeader(int x, int y)
clickedHeader(int x, int y)
m_6205_(int p_93432_, int arg1)
protected void
a(ehe arg0, int arg1, int arg2)
renderHeader(PoseStack arg0, int arg1, int arg2)
method_25312(class_4587 arg0, int arg1, int arg2)
m_tcbvwdif(C_cnszsxvd arg0, int arg1, int arg2)
renderHeader(MatrixStack matrices, int x, int y)
renderHeader(MatrixStack matrices, int x, int y)
m_7154_(C_3181_ p_93459_, int p_93460_, int arg2)
protected void
a(ehe arg0)
renderBackground(PoseStack arg0)
method_25325(class_4587 arg0)
m_honkwktf(C_cnszsxvd arg0)
renderBackground(MatrixStack matrices)
renderBackground(MatrixStack matrices)
m_7733_(C_3181_ arg0)
protected void
b(ehe arg0, int arg1, int arg2)
renderDecorations(PoseStack arg0, int arg1, int arg2)
method_25320(class_4587 arg0, int arg1, int arg2)
m_kidjvxld(C_cnszsxvd arg0, int arg1, int arg2)
renderDecorations(MatrixStack matrices, int mouseX, int mouseY)
renderDecorations(MatrixStack matrices, int mouseX, int mouseY)
m_7415_(C_3181_ p_93444_, int p_93445_, int arg2)
public void
a(ehe arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
m_ljhpujrm(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_86412_(C_3181_ p_93448_, int p_93449_, int p_93450_, float arg3)
protected void
m()
enableScissor()
method_49603()
m_gdtmmdiz()
enableScissor()
enableScissor()
m_274317_()
protected void
e(E arg0)
centerScrollOn(E arg0)
method_25324(E arg0)
m_cypiczpx(E arg0)
centerScrollOn(E entry)
centerScrollOn(E entry)
m_93494_(E arg0)
protected void
f(E arg0)
ensureVisible(E arg0)
method_25328(E arg0)
m_deeazfas(E arg0)
ensureVisible(E entry)
ensureVisible(E entry)
m_93498_(E arg0)
private void
a(int arg0)
scroll(int arg0)
method_25309(int arg0)
m_krleyrsx(int arg0)
scroll(int amount)
scroll(int amount)
m_93429_(int arg0)
public double
n()
getScrollAmount()
method_25341()
m_qmzwhmmz()
getScrollAmount()
getScrollAmount()
m_93517_()
public void
a(double arg0)
setScrollAmount(double arg0)
method_25307(double arg0)
m_uwcwkhhb(double arg0)
setScrollAmount(double amount)
setScrollAmount(double amount)
m_93410_(double arg0)
public int
o()
getMaxScroll()
method_25331()
m_ckbdvwhe()
getMaxScroll()
getMaxScroll()
m_93518_()
public int
p()
getScrollBottom()
method_35721()
m_bxfstjnj()
method_35721()
getScrollBottom()
m_168793_()
protected void
c(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
method_25318(double arg0, double arg1, int arg2)
m_prgsupvw(double arg0, double arg1, int arg2)
updateScrollingState(double mouseX, double mouseY, int button)
updateScrollingState(double mouseX, double mouseY, int button)
m_93481_(double p_93483_, double arg1, int arg2)
protected int
c()
getScrollbarPosition()
method_25329()
m_ophfjpkb()
getScrollbarPositionX()
getScrollbarPositionX()
m_5756_()
public boolean
a(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
method_25402(double arg0, double arg1, int arg2)
m_fpfqbhfx(double arg0, double arg1, int arg2)
mouseClicked(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)
m_vygbkdkf(double arg0, double arg1, int arg2)
mouseReleased(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)
m_shbmcoxj(double arg0, double arg1, int arg2, double arg3, double arg4)
mouseDragged(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)
mouseScrolled(double arg0, double arg1, double arg2)
method_25401(double arg0, double arg1, double arg2)
m_ztjwzdkn(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
m_6050_(double p_93417_, double arg1, double arg2)
public void
a(epl arg0)
setFocused(GuiEventListener arg0)
method_25395(class_364 arg0)
m_wirmenlj(C_fxiqpxaf arg0)
setFocused(Element arg0)
setFocusedChild(Element arg0)
m_7522_(C_3495_ arg0)
protected E
a(erl arg0)
nextEntry(ScreenDirection arg0)
method_48197(class_8028 arg0)
m_mkepnzvu(C_veciqgge arg0)
getNeighboringEntry(NavigationDirection direction)
nextEntry(NavigationDirection direction)
m_264254_(C_263621_ arg0)
protected E
a(erl arg0, Predicate<E> arg1)
nextEntry(ScreenDirection arg0, Predicate<E> arg1)
method_48198(class_8028 arg0, Predicate<E> arg1)
m_bpkgbhiy(C_veciqgge arg0, Predicate<E> arg1)
getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate)
nextEntry(NavigationDirection direction, Predicate<E> predicate)
m_264620_(C_263621_ p_265604_, Predicate<E> arg1)
protected E
a(erl arg0, Predicate<E> arg1, E arg2)
nextEntry(ScreenDirection arg0, Predicate<E> arg1, E arg2)
method_48199(class_8028 arg0, Predicate<E> arg1, E arg2)
m_usfercgd(C_veciqgge arg0, Predicate<E> arg1, E arg2)
getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate, E selected)
nextEntry(NavigationDirection direction, Predicate<E> predicate, E currentEntry)
m_264238_(C_263621_ p_265109_, Predicate<E> p_265379_, E arg2)
public boolean
a_(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
method_25405(double arg0, double arg1)
m_nxrnpxyk(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
m_5953_(double p_93480_, double arg1)
protected void
b(ehe arg0, int arg1, int arg2, float arg3)
renderList(PoseStack arg0, int arg1, int arg2, float arg3)
method_25311(class_4587 arg0, int arg1, int arg2, float arg3)
m_xeghcusi(C_cnszsxvd arg0, int arg1, int arg2, float arg3)
renderList(MatrixStack matrices, int mouseX, int mouseY, float delta)
renderList(MatrixStack matrices, int mouseX, int mouseY, float delta)
m_239227_(C_3181_ p_239229_, int p_239230_, int p_239231_, float arg3)
protected void
a(ehe arg0, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
renderItem(PoseStack arg0, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
method_44397(class_4587 arg0, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
m_enzpxkzi(C_cnszsxvd arg0, int arg1, int arg2, float arg3, int arg4, int arg5, int arg6, int arg7, int arg8)
renderEntry(MatrixStack matrices, int mouseX, int mouseY, float delta, int index, int x, int y, int entryWidth, int entryHeight)
renderEntry(MatrixStack matrices, int mouseX, int mouseY, float delta, int index, int x, int y, int width, int height)
m_238964_(C_3181_ 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
c(ehe arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
renderSelection(PoseStack arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
method_44398(class_4587 arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
m_ugejzjin(C_cnszsxvd arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
drawSelectionHighlight(MatrixStack matrices, int y, int entryWidth, int entryHeight, int borderColor, int fillColor)
drawEntrySelectionHighlight(MatrixStack matrices, int y, int entryWidth, int entryHeight, int borderColor, int fillColor)
m_240140_(C_3181_ p_240142_, int p_240143_, int p_240144_, int p_240145_, int p_240146_, int arg5)
public int
q()
getRowLeft()
method_25342()
m_zxlevqds()
getRowLeft()
getRowLeft()
m_5747_()
public int
r()
getRowRight()
method_31383()
m_dnwrfyzv()
getRowRight()
getRowRight()
m_93520_()
protected int
g(int arg0)
getRowTop(int arg0)
method_25337(int arg0)
m_ldjgvvhr(int arg0)
getRowTop(int index)
getRowTop(int index)
m_7610_(int arg0)
protected int
h(int arg0)
getRowBottom(int arg0)
method_25319(int arg0)
m_fieboaym(int arg0)
getRowBottom(int index)
getRowBottom(int index)
m_93485_(int arg0)
public NarratableEntry$NarrationPriority
s()
narrationPriority()
method_37018()
m_ohloyjiq()
getType()
getType()
m_142684_()
protected E
i(int arg0)
remove(int arg0)
method_25338(int arg0)
m_phuwofkc(int arg0)
remove(int index)
remove(int index)
m_93514_(int arg0)
protected boolean
g(E arg0)
removeEntry(E arg0)
method_25330(E arg0)
m_mzarzdup(E arg0)
removeEntry(E entry)
removeEntry(E entry)
m_93502_(E arg0)
protected E
t()
getHovered()
method_37019()
m_bzxbqbad()
getHoveredEntry()
getHoveredEntry()
m_168795_()
void
h(enw$a<E> arg0)
bindEntryToSelf(AbstractSelectionList$Entry<E> arg0)
method_29621(class_350$class_351<E> arg0)
m_yqoydelm(C_nmdfcqgq$C_rzayyeiy<E> arg0)
setEntryParentList(EntryListWidget$Entry<E> entry)
setEntryParentList(EntryListWidget$Entry<E> entry)
m_93505_(C_3443_$C_3445_<E> arg0)
protected void
a(ere arg0, E arg1)
narrateListElementPosition(NarrationElementOutput arg0, E arg1)
method_37017(class_6382 arg0, E arg1)
m_goqvzuvd(C_pofrkllk arg0, E arg1)
appendNarrations(NarrationMessageBuilder builder, E entry)
appendNarrations(NarrationMessageBuilder builder, E entry)
m_168790_(C_141608_ p_168792_, E arg1)
public ScreenRectangle
u()
getRectangle()
method_48202()
m_duvbqmml()
getNavigationFocus()
getArea()
m_264198_()