net.minecraft.client.gui.widget

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

extends ContainerWidget

All mapped superinterfaces:

Drawable, Element, Navigable, Widget, Selectable, Narratable, ParentElement

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

Field summary

Modifier and TypeField
private static final Identifier
a
MENU_LIST_BACKGROUND
field_49478
MENU_LIST_BACKGROUND_TEXTURE
f_majedibe
LIST_BACKGROUND_TEXTURE
f_315877_
private static final Identifier
l
INWORLD_MENU_LIST_BACKGROUND
field_49892
INWORLD_MENU_LIST_BACKGROUND_TEXTURE
f_ijqjewue
INWORLD_LIST_BACKGROUND_TEXTURE
f_313898_
private static final int
m
SEPARATOR_HEIGHT
field_62110
SPACER_HEIGHT
f_gzxgtfik
f_413786_
protected final MinecraftClient
c
minecraft
field_22740
client
f_wgvjqamc
client
f_93386_
protected final int
d
defaultEntryHeight
field_62109
itemHeight
f_tafjxjpc
f_412619_
private final List<E>
n
children
field_22739
children
f_nwxfkzcb
children
f_93385_
protected boolean
e
centerListVertically
field_22744
centerListVertically
f_qftaiomx
centerListVertically
f_93394_
private E
o
selected
field_22751
selected
f_ppgscfga
selected
f_93400_
private E
p
hovered
field_33780
hoveredEntry
f_hyyybytd
hoveredEntry
f_168789_

Constructor summary

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

Method summary

Modifier and TypeMethod
public E
q()
getSelected()
method_25334()
getSelectedOrNull()
m_jpuncqsm()
getSelectedOrNull()
m_93511_()
public void
a(E arg0)
setSelected(E arg0)
method_25313(E arg0)
setSelected(E entry)
m_efccelql(E arg0)
setSelected(E entry)
m_6987_(E arg0)
public E
r()
getFocused()
method_25336()
getFocused()
m_mdngqhdo()
getFocused()
m_7222_()
public final List<E>
aJ_()
children()
method_25396()
children()
m_soldxolv()
children()
m_6702_()
protected void
a(Comparator<E> arg0)
sort(Comparator<E> arg0)
method_73372(Comparator<E> arg0)
sort(Comparator<E> comparator)
m_evkdxuze(Comparator<E> arg0)
m_evkdxuze(Comparator<E> c)
m_417958_(Comparator<E> arg0)
protected void
a(int o, int arg1)
swap(int arg0, int arg1)
method_73368(int arg0, int arg1)
swapEntriesOnPositions(int pos1, int pos2)
m_mjqhihxf(int arg0, int arg1)
m_mjqhihxf(int i, int arg1)
m_417833_(int p_425931_, int arg1)
protected void
s()
clearEntries()
method_25339()
clearEntries()
m_eyiqobmu()
clearEntries()
m_93516_()
protected void
b(E arg0)
clearEntriesExcept(E arg0)
method_73374(E arg0)
clearEntriesExcept(E entryToKeep)
m_ecioaqrn(E arg0)
m_416169_(E arg0)
public void
a(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
method_25314(Collection<E> arg0)
replaceEntries(Collection<E> collection)
m_wfpeolts(Collection<E> arg0)
replaceEntries(Collection<E> newEntries)
m_5988_(Collection<E> arg0)
private int
d()
getFirstEntryY()
method_73376()
getYOfFirstEntry()
m_pfxhlnta()
m_417427_()
public int
t()
getNextY()
method_73378()
getYOfNextEntry()
m_qjtesiel()
m_418125_()
protected int
c(E arg0)
addEntry(E arg0)
method_25321(E arg0)
addEntry(E entry)
m_esbvozjt(E arg0)
m_7085_(E arg0)
protected int
a(E o, int arg1)
addEntry(E arg0, int arg1)
method_73370(E arg0, int arg1)
addEntry(E entry, int entryHeight)
m_gptsjtdr(E arg0, int arg1)
m_417502_(E p_430091_, int arg1)
protected void
d(E arg0)
addEntryToTop(E arg0)
method_44399(E arg0)
addEntryToTop(E entry)
m_dgarbhrm(E arg0)
m_dgarbhrm(E e)
m_239857_(E arg0)
protected void
b(E o, int arg1)
addEntryToTop(E arg0, int arg1)
method_73375(E arg0, int arg1)
addEntryToTop(E entry, int entryHeight)
m_lvfifikh(E arg0, int arg1)
m_lvfifikh(E e, int arg1)
m_416730_(E p_431108_, int arg1)
private void
H()
repositionEntries()
method_73367()
recalculateAllChildrenPositions()
m_ttlellmv()
m_418281_()
protected void
e(E arg0)
removeEntryFromTop(E arg0)
method_44650(E arg0)
removeEntryWithoutScrolling(E entry)
m_mkijufgh(E arg0)
removeEntryFromTop(E entry)
m_239045_(E arg0)
protected int
u()
getItemCount()
method_25340()
getEntryCount()
m_xwqptkxc()
getEntryCount()
m_5773_()
protected boolean
v()
entriesCanBeSelected()
method_73379()
isEntrySelectionAllowed()
m_hwwnmjfs()
m_94018_()
protected final E
b(double o, double arg1)
getEntryAtPosition(double arg0, double arg1)
method_25308(double arg0, double arg1)
getEntryAtPosition(double x, double y)
m_ulzatvjk(double arg0, double arg1)
getEntryAtPosition(double x, double y)
m_93412_(double p_93414_, double arg1)
public void
a(int o, gjc arg1)
updateSize(int arg0, HeaderAndFooterLayout arg1)
method_57712(int arg0, class_8132 arg1)
position(int width, ThreePartsLayoutWidget layout)
m_rmsywiow(int arg0, C_cqroimpa arg1)
setDimensionsWithLayout(int width, HeaderFooterLayoutWidget layout)
m_319425_(int p_331081_, C_268377_ arg1)
public void
a(int o, int o, 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_maxamkjf(int arg0, int arg1, int arg2)
m_321569_(int p_333730_, int p_328806_, int arg2)
public void
a(int o, int o, int o, int arg3)
updateSizeAndPosition(int arg0, int arg1, int arg2, int arg3)
method_73369(int arg0, int arg1, int arg2, int arg3)
position(int width, int height, int x, int y)
m_tjnldekt(int arg0, int arg1, int arg2, int arg3)
m_420110_(int p_430079_, int p_426198_, int p_428192_, int arg3)
protected int
o()
contentHeight()
method_44395()
getContentsHeightWithPadding()
m_moguksws()
m_372155_()
public void
b(gdd o, int o, int o, 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_mxhoikgj(C_sedilmty arg0, int arg1, int arg2, float arg3)
drawWidget(GuiGraphics arg0, int arg1, int arg2, float arg3)
m_87963_(C_279497_ p_283242_, int p_282891_, int p_283683_, float arg3)
protected void
b(gdd arg0)
renderListSeparators(GuiGraphics arg0)
method_57713(class_332 arg0)
drawHeaderAndFooterSeparators(DrawContext context)
m_focevudw(C_sedilmty arg0)
drawSeparators(GuiGraphics graphics)
m_319011_(C_279497_ arg0)
protected void
a(gdd arg0)
renderListBackground(GuiGraphics arg0)
method_57715(class_332 arg0)
drawMenuListBackground(DrawContext context)
m_upbasnsh(C_sedilmty arg0)
drawBackground(GuiGraphics graphics)
m_323247_(C_279497_ arg0)
protected void
c(gdd arg0)
enableScissor(GuiGraphics arg0)
method_49603(class_332 arg0)
enableScissor(DrawContext context)
m_gdtmmdiz(C_sedilmty arg0)
enableScissor(GuiGraphics graphics)
m_280310_(C_279497_ arg0)
protected void
f(E arg0)
scrollToEntry(E arg0)
method_73377(E arg0)
scrollTo(E entry)
m_swdtfefs(E arg0)
m_418288_(E arg0)
protected void
g(E arg0)
centerScrollOn(E arg0)
method_25324(E arg0)
centerScrollOn(E entry)
m_cypiczpx(E arg0)
centerScrollOn(E entry)
m_93494_(E arg0)
private void
h(int arg0)
scroll(int arg0)
method_25309(int arg0)
scroll(int amount)
m_krleyrsx(int arg0)
scroll(int amount)
m_93429_(int arg0)
public void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double arg0)
m_yvektwyp(double arg0)
m_yvektwyp(double arg0)
m_239020_(double arg0)
protected double
p()
scrollRate()
method_44393()
getDeltaYPerScroll()
m_emnccvkh()
m_239725_()
protected int
m()
scrollBarX()
method_65507()
getScrollbarX()
m_vjijfitt()
m_372556_()
public Optional<Element>
c(double o, double arg1)
getChildAt(double arg0, double arg1)
method_19355(double arg0, double arg1)
hoveredElement(double arg0, double arg1)
m_lhgcktzm(double arg0, double arg1)
hoveredElement(double arg0, double arg1)
m_94729_(double p_377088_, double arg1)
public void
b(boolean arg0)
setFocused(boolean arg0)
method_25365(boolean arg0)
setFocused(boolean arg0)
m_sxncwtsd(boolean arg0)
setFocused(boolean arg0)
m_93692_(boolean arg0)
public void
a(ggw arg0)
setFocused(GuiEventListener arg0)
method_25395(class_364 arg0)
setFocused(Element arg0)
m_wirmenlj(C_fxiqpxaf arg0)
setFocusedChild(Element arg0)
m_7522_(C_3495_ arg0)
protected E
a(gjs arg0)
nextEntry(ScreenDirection arg0)
method_48197(class_8028 arg0)
getNeighboringEntry(NavigationDirection direction)
m_mkepnzvu(C_veciqgge arg0)
nextEntry(NavigationDirection direction)
m_264254_(C_263621_ arg0)
protected E
a(gjs o, Predicate<E> arg1)
nextEntry(ScreenDirection arg0, Predicate<E> arg1)
method_48198(class_8028 arg0, Predicate<E> arg1)
getNeighboringEntry(NavigationDirection direction, Predicate<E> predicate)
m_bpkgbhiy(C_veciqgge arg0, Predicate<E> arg1)
nextEntry(NavigationDirection direction, Predicate<E> predicate)
m_264620_(C_263621_ p_265604_, Predicate<E> arg1)
protected E
a(gjs o, Predicate<E> o, 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_usfercgd(C_veciqgge arg0, Predicate<E> arg1, E arg2)
nextEntry(NavigationDirection direction, Predicate<E> predicate, E currentEntry)
m_264238_(C_263621_ p_265109_, Predicate<E> p_265379_, E arg2)
protected void
c(gdd o, int o, int o, 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 deltaTicks)
m_sigkrghy(C_sedilmty arg0, int arg1, int arg2, float arg3)
renderEntries(GuiGraphics graphics, int mouseX, int mouseY, float delta)
m_239227_(C_279497_ p_239229_, int p_239230_, int p_239231_, float arg3)
protected void
a(gdd o, int o, int o, float o, E arg4)
renderItem(GuiGraphics arg0, int arg1, int arg2, float arg3, E arg4)
method_44397(class_332 arg0, int arg1, int arg2, float arg3, E arg4)
renderEntry(DrawContext context, int mouseX, int mouseY, float delta, E entry)
m_enzpxkzi(C_sedilmty arg0, int arg1, int arg2, float arg3, E arg4)
renderEntry(GuiGraphics graphics, int mouseX, int mouseY, float delta, E arg4)
m_238964_(C_279497_ p_238966_, int p_238967_, int p_238968_, float p_423748_, E arg4)
protected void
a(gdd o, E o, int arg2)
renderSelection(GuiGraphics arg0, E arg1, int arg2)
method_44398(class_332 arg0, E arg1, int arg2)
drawSelectionHighlight(DrawContext context, E entry, int color)
m_ugejzjin(C_sedilmty arg0, E arg1, int arg2)
drawEntrySelectionHighlight(GuiGraphics graphics, E arg1, int y)
m_240140_(C_279497_ p_427454_, E p_240142_, int arg2)
public int
w()
getRowLeft()
method_25342()
getRowLeft()
m_zxlevqds()
getRowLeft()
m_5747_()
public int
x()
getRowRight()
method_31383()
getRowRight()
m_dnwrfyzv()
getRowRight()
m_93520_()
public int
a(int arg0)
getRowTop(int arg0)
method_25337(int arg0)
getRowTop(int index)
m_ldjgvvhr(int arg0)
getRowTop(int index)
m_7610_(int arg0)
public int
b(int arg0)
getRowBottom(int arg0)
method_25319(int arg0)
getRowBottom(int index)
m_fieboaym(int arg0)
getRowBottom(int index)
m_93485_(int arg0)
public int
a()
getRowWidth()
method_25322()
getRowWidth()
m_gvcbjhbe()
getRowWidth()
m_5759_()
public Selectable$SelectionType
y()
narrationPriority()
method_37018()
getType()
m_ohloyjiq()
getType()
m_142684_()
protected void
a(List<E> arg0)
removeEntries(List<E> arg0)
method_73373(List<E> arg0)
removeEntries(List<E> entries)
m_kavyerja(List<E> arg0)
m_416373_(List<E> arg0)
protected void
h(E arg0)
removeEntry(E arg0)
method_25330(E arg0)
removeEntry(E entry)
m_mzarzdup(E arg0)
removeEntry(E entry)
m_93502_(E arg0)
protected E
z()
getHovered()
method_37019()
getHoveredEntry()
m_bzxbqbad()
getHoveredEntry()
m_168795_()
void
i(gdj$a<E> arg0)
bindEntryToSelf(AbstractSelectionList$Entry<E> arg0)
method_29621(class_350$class_351<E> arg0)
setEntryParentList(EntryListWidget$Entry<E> entry)
m_yqoydelm(C_nmdfcqgq$C_rzayyeiy<E> arg0)
setEntryParentList(EntryListWidget$Entry<E> entry)
m_93505_(C_3443_$C_3445_<E> arg0)
protected void
a(gjl o, E arg1)
narrateListElementPosition(NarrationElementOutput arg0, E arg1)
method_37017(class_6382 arg0, E arg1)
appendNarrations(NarrationMessageBuilder builder, E entry)
m_goqvzuvd(C_pofrkllk arg0, E arg1)
appendNarrations(NarrationMessageBuilder builder, E entry)
m_168790_(C_141608_ p_168792_, E arg1)