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

fsd
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.list.EntryListWidget

Field summary

Modifier and TypeField
private static final ResourceLocation
a
MENU_LIST_BACKGROUND
field_49478
f_majedibe
MENU_LIST_BACKGROUND_TEXTURE
LIST_BACKGROUND_TEXTURE
private static final ResourceLocation
m
INWORLD_MENU_LIST_BACKGROUND
field_49892
f_ijqjewue
INWORLD_MENU_LIST_BACKGROUND_TEXTURE
INWORLD_LIST_BACKGROUND_TEXTURE
protected final Minecraft
c
minecraft
field_22740
f_wgvjqamc
client
client
protected final int
d
itemHeight
field_22741
f_opumfhwp
itemHeight
itemHeight
private final List<E>
n
children
field_22739
f_nwxfkzcb
children
children
protected boolean
e
centerListVertically
field_22744
f_qftaiomx
centerListVertically
centerListVertically
private boolean
o
renderHeader
field_22747
f_ymsrddlp
renderHeader
renderHeader
protected int
f
headerHeight
field_22748
f_ocwvpdlc
headerHeight
headerHeight
private E
p
selected
field_22751
f_ppgscfga
selected
selected
private E
q
hovered
field_33780
f_hyyybytd
hoveredEntry
hoveredEntry

Constructor summary

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

Method summary

Modifier and TypeMethod
public E
p()
getSelected()
method_25334()
m_jpuncqsm()
getSelectedOrNull()
getSelectedOrNull()
public void
a(int arg0)
setSelectedIndex(int arg0)
method_64847(int arg0)
m_efwrmnaq(int arg0)
setSelected(int index)
m_efwrmnaq(int index)
public void
a(E arg0)
setSelected(E arg0)
method_25313(E arg0)
m_efccelql(E arg0)
setSelected(E entry)
setSelected(E entry)
public E
q()
getFirstElement()
method_48200()
m_ymoufzun()
getFirst()
getFirstChild()
public E
r()
getFocused()
method_25336()
m_mdngqhdo()
getFocused()
getFocused()
public final List<E>
aE_()
children()
method_25396()
m_soldxolv()
children()
children()
protected void
s()
clearEntries()
method_25339()
m_eyiqobmu()
clearEntries()
clearEntries()
public 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)
protected E
b(int arg0)
getEntry(int arg0)
method_25326(int arg0)
m_qkjfpjtf(int arg0)
getEntry(int index)
getEntry(int index)
protected int
b(E arg0)
addEntry(E arg0)
method_25321(E arg0)
m_jbupitjk(E arg0)
addEntry(E entry)
addEntry(E entry)
protected void
c(E arg0)
addEntryToTop(E arg0)
method_44399(E arg0)
m_hnzwcbvf(E arg0)
addEntryToTop(E entry)
addEntryToTop(E entry)
protected boolean
d(E arg0)
removeEntryFromTop(E arg0)
method_44650(E arg0)
m_mkijufgh(E arg0)
removeEntryWithoutScrolling(E entry)
removeEntryFromTop(E entry)
protected int
t()
getItemCount()
method_25340()
m_xwqptkxc()
getEntryCount()
getEntryCount()
protected boolean
c(int arg0)
isSelectedItem(int arg0)
method_25332(int arg0)
m_jwelxfgu(int arg0)
isSelectedEntry(int index)
isSelectedEntry(int index)
protected final E
c(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)
public void
a(int arg0, fvx arg1)
updateSize(int arg0, HeaderAndFooterLayout arg1)
method_57712(int arg0, class_8132 arg1)
m_rmsywiow(int arg0, C_cqroimpa arg1)
position(int width, ThreePartsLayoutWidget layout)
setDimensionsWithLayout(int width, HeaderFooterLayoutWidget 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)
m_rhxewfxj(int arg0, int arg1, int arg2)
position(int width, int height, int y)
setDimensionsAndOffset(int width, int height, int y)
protected int
n()
contentHeight()
method_44395()
m_moguksws()
getContentsHeightWithPadding()
protected void
a(frv arg0, int arg1, int arg2)
renderHeader(GuiGraphics arg0, int arg1, int arg2)
method_25312(class_332 arg0, int arg1, int arg2)
m_tcbvwdif(C_sedilmty arg0, int arg1, int arg2)
renderHeader(DrawContext context, int x, int y)
renderHeader(GuiGraphics graphics, int x, int y)
protected void
b(frv arg0, int arg1, int arg2)
renderDecorations(GuiGraphics arg0, int arg1, int arg2)
method_25320(class_332 arg0, int arg1, int arg2)
m_kidjvxld(C_sedilmty arg0, int arg1, int arg2)
renderDecorations(DrawContext context, int mouseX, int mouseY)
renderDecorations(GuiGraphics graphics, int mouseX, int mouseY)
public void
b(frv 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)
m_mxhoikgj(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderWidget(DrawContext arg0, int arg1, int arg2, float arg3)
drawWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
protected void
b(frv arg0)
renderListSeparators(GuiGraphics arg0)
method_57713(class_332 arg0)
m_focevudw(C_sedilmty arg0)
drawHeaderAndFooterSeparators(DrawContext context)
drawSeparators(GuiGraphics graphics)
protected void
c(frv arg0)
renderListBackground(GuiGraphics arg0)
method_57715(class_332 arg0)
m_upbasnsh(C_sedilmty arg0)
drawMenuListBackground(DrawContext context)
drawBackground(GuiGraphics graphics)
protected void
d(frv arg0)
enableScissor(GuiGraphics arg0)
method_49603(class_332 arg0)
m_gdtmmdiz(C_sedilmty arg0)
enableScissor(DrawContext context)
enableScissor(GuiGraphics graphics)
protected void
e(E arg0)
centerScrollOn(E arg0)
method_25324(E arg0)
m_cypiczpx(E arg0)
centerScrollOn(E entry)
centerScrollOn(E entry)
protected void
f(E arg0)
ensureVisible(E arg0)
method_25328(E arg0)
m_deeazfas(E arg0)
ensureVisible(E entry)
ensureVisible(E entry)
private void
m(int arg0)
scroll(int arg0)
method_25309(int arg0)
m_krleyrsx(int arg0)
scroll(int amount)
scroll(int amount)
protected double
o()
scrollRate()
method_44393()
m_emnccvkh()
getDeltaYPerScroll()
protected int
l()
scrollBarX()
method_65507()
m_vjijfitt()
getScrollbarX()
public Optional<GuiEventListener>
d(double arg0, double arg1)
getChildAt(double arg0, double arg1)
method_19355(double arg0, double arg1)
m_lhgcktzm(double arg0, double arg1)
hoveredElement(double arg0, double arg1)
hoveredElement(double arg0, double arg1)
public void
a(fug arg0)
setFocused(GuiEventListener arg0)
method_25395(class_364 arg0)
m_wirmenlj(C_fxiqpxaf arg0)
setFocused(Element arg0)
setFocusedChild(Element arg0)
protected E
a(fwo arg0)
nextEntry(ScreenDirection arg0)
method_48197(class_8028 arg0)
m_mkepnzvu(C_veciqgge arg0)
getNeighboringEntry(NavigationDirection direction)
nextEntry(NavigationDirection direction)
protected E
a(fwo 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)
protected E
a(fwo 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)
protected void
c(frv 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)
m_sigkrghy(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderList(DrawContext context, int mouseX, int mouseY, float deltaTicks)
renderEntries(GuiGraphics graphics, int mouseX, int mouseY, float delta)
protected void
a(frv 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)
m_enzpxkzi(C_sedilmty 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)
renderEntry(GuiGraphics graphics, int mouseX, int mouseY, float delta, int index, int x, int y, int width, int height)
protected void
a(frv 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)
m_ugejzjin(C_sedilmty arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
drawSelectionHighlight(DrawContext context, int y, int entryWidth, int entryHeight, int borderColor, int fillColor)
drawEntrySelectionHighlight(GuiGraphics graphics, int y, int entryWidth, int entryHeight, int borderColor, int fillColor)
public int
u()
getRowLeft()
method_25342()
m_zxlevqds()
getRowLeft()
getRowLeft()
public int
v()
getRowRight()
method_31383()
m_dnwrfyzv()
getRowRight()
getRowRight()
public int
d(int arg0)
getRowTop(int arg0)
method_25337(int arg0)
m_ldjgvvhr(int arg0)
getRowTop(int index)
getRowTop(int index)
public int
e(int arg0)
getRowBottom(int arg0)
method_25319(int arg0)
m_fieboaym(int arg0)
getRowBottom(int index)
getRowBottom(int index)
public int
a()
getRowWidth()
method_25322()
m_gvcbjhbe()
getRowWidth()
getRowWidth()
public NarratableEntry$NarrationPriority
w()
narrationPriority()
method_37018()
m_ohloyjiq()
getType()
getType()
protected E
f(int arg0)
remove(int arg0)
method_25338(int arg0)
m_phuwofkc(int arg0)
remove(int index)
remove(int index)
protected boolean
g(E arg0)
removeEntry(E arg0)
method_25330(E arg0)
m_mzarzdup(E arg0)
removeEntry(E entry)
removeEntry(E entry)
protected E
x()
getHovered()
method_37019()
m_bzxbqbad()
getHoveredEntry()
getHoveredEntry()
void
h(fsd$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)
protected void
a(fwg 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)