net.minecraft.client.gui.components

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

extends AbstractContainerEventHandler implements Widget, NarratableEntry

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget, NarratableEntry, NarrationSupplier

eaa
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 final Minecraft
b
minecraft
field_22740
client
f_93386_
protected final int
c
itemHeight
field_22741
itemHeight
f_93387_
private final List<E>
a
children
field_22739
children
f_93385_
protected int
d
width
field_22742
width
f_93388_
protected int
e
height
field_22743
height
f_93389_
protected int
i
y0
field_19085
top
f_93390_
protected int
j
y1
field_19086
bottom
f_93391_
protected int
k
x1
field_19087
right
f_93392_
protected int
l
x0
field_19088
left
f_93393_
protected boolean
m
centerListVertically
field_22744
centerListVertically
f_93394_
private double
o
scrollAmount
field_22749
scrollAmount
f_93396_
private boolean
p
renderSelection
field_22746
renderSelection
f_93397_
private boolean
q
renderHeader
field_22747
renderHeader
f_93398_
protected int
n
headerHeight
field_22748
headerHeight
f_93395_
private boolean
r
scrolling
field_22750
scrolling
f_93399_
private E
s
selected
field_22751
selected
f_93400_
private boolean
t
renderBackground
field_26846
renderBackground
f_93401_
private boolean
u
renderTopAndBottom
field_26847
renderHorizontalShadows
f_93402_
private E
v
hovered
field_33780
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)
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)
setRenderHeader(boolean renderHeader, int headerHeight)
m_93473_(boolean p_93475_, int arg1)
public int
c()
getRowWidth()
method_25322()
getRowWidth()
m_5759_()
public E
g()
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 void
c_(boolean arg0)
setRenderBackground(boolean arg0)
method_31322(boolean arg0)
setRenderBackground(boolean renderBackground)
m_93488_(boolean arg0)
public void
c(boolean arg0)
setRenderTopAndBottom(boolean arg0)
method_31323(boolean arg0)
setRenderHorizontalShadows(boolean renderHorizontalShadows)
m_93496_(boolean arg0)
public E
h()
getFocused()
method_25336()
getFocused()
m_7222_()
public final List<E>
i()
children()
method_25396()
children()
m_6702_()
protected final void
j()
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
e(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 int
l()
getItemCount()
method_25340()
getEntryCount()
m_5773_()
protected boolean
f(int arg0)
isSelectedItem(int arg0)
method_25332(int arg0)
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)
getEntryAtPosition(double x, double y)
m_93412_(double p_93414_, double arg1)
public void
a(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)
updateSize(int width, int height, int top, int bottom)
m_93437_(int p_93439_, int p_93440_, int p_93441_, int arg3)
public void
g(int arg0)
setLeftPos(int arg0)
method_25333(int arg0)
setLeftPos(int left)
m_93507_(int arg0)
protected int
b()
getMaxPosition()
method_25317()
getMaxPosition()
m_5775_()
protected void
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(dtm arg0, int arg1, int arg2, dto arg3)
renderHeader(PoseStack arg0, int arg1, int arg2, Tesselator arg3)
method_25312(class_4587 arg0, int arg1, int arg2, class_289 arg3)
renderHeader(MatrixStack matrices, int x, int y, Tessellator tessellator)
m_7154_(C_3181_ p_93459_, int p_93460_, int p_93461_, C_3185_ arg3)
protected void
a(dtm arg0)
renderBackground(PoseStack arg0)
method_25325(class_4587 arg0)
renderBackground(MatrixStack matrices)
m_7733_(C_3181_ arg0)
protected void
a(dtm arg0, int arg1, int arg2)
renderDecorations(PoseStack arg0, int arg1, int arg2)
method_25320(class_4587 arg0, int arg1, int arg2)
renderDecorations(MatrixStack matrices, int mouseX, int mouseY)
m_7415_(C_3181_ p_93444_, int p_93445_, int arg2)
public void
a(dtm 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)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_93448_, int p_93449_, int p_93450_, float arg3)
protected void
c(E arg0)
centerScrollOn(E arg0)
method_25324(E arg0)
centerScrollOn(E entry)
m_93494_(E arg0)
protected void
d(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
m()
getScrollAmount()
method_25341()
getScrollAmount()
m_93517_()
public void
a(double arg0)
setScrollAmount(double arg0)
method_25307(double arg0)
setScrollAmount(double amount)
m_93410_(double arg0)
public int
n()
getMaxScroll()
method_25331()
getMaxScroll()
m_93518_()
public int
o()
getScrollBottom()
method_35721()
method_35721()
m_168793_()
protected void
b(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
d()
getScrollbarPosition()
method_25329()
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)
mouseClicked(double arg0, double arg1, int arg2)
m_6375_(double p_93421_, double arg1, int arg2)
public boolean
c(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)
mouseScrolled(double arg0, double arg1, double arg2)
method_25401(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
m_6050_(double p_93417_, double arg1, double arg2)
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_93435_, int p_93436_, int arg2)
protected void
a(eaa$b arg0)
moveSelection(AbstractSelectionList$SelectionDirection arg0)
method_25335(class_350$class_5403 arg0)
moveSelection(EntryListWidget$MoveDirection direction)
m_6778_(C_3443_$C_3446_ arg0)
protected void
p()
refreshSelection()
method_30015()
ensureSelectedEntryVisible()
m_93519_()
protected void
a(eaa$b arg0, Predicate<E> arg1)
moveSelection(AbstractSelectionList$SelectionDirection arg0, Predicate<E> arg1)
method_30013(class_350$class_5403 arg0, Predicate<E> arg1)
moveSelectionIf(EntryListWidget$MoveDirection direction, Predicate<E> predicate)
m_93464_(C_3443_$C_3446_ p_93466_, Predicate<E> arg1)
public boolean
a_(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
a(dtm arg0, int arg1, int arg2, int arg3, int arg4, float arg5)
renderList(PoseStack arg0, int arg1, int arg2, int arg3, int arg4, float arg5)
method_25311(class_4587 arg0, int arg1, int arg2, int arg3, int arg4, float arg5)
renderList(MatrixStack matrices, int x, int y, int mouseX, int mouseY, float delta)
m_93451_(C_3181_ p_93453_, int p_93454_, int p_93455_, int p_93456_, int p_93457_, float arg5)
public int
q()
getRowLeft()
method_25342()
getRowLeft()
m_5747_()
public int
r()
getRowRight()
method_31383()
getRowRight()
m_93520_()
protected int
h(int arg0)
getRowTop(int arg0)
method_25337(int arg0)
getRowTop(int index)
m_7610_(int arg0)
private int
b(int arg0)
getRowBottom(int arg0)
method_25319(int arg0)
getRowBottom(int index)
m_93485_(int arg0)
protected boolean
a()
isFocused()
method_25316()
isFocused()
m_5694_()
public NarratableEntry$NarrationPriority
s()
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
e(E arg0)
removeEntry(E arg0)
method_25330(E arg0)
removeEntry(E entry)
m_93502_(E arg0)
protected E
t()
getHovered()
method_37019()
getHoveredEntry()
m_168795_()
void
f(eaa$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(eci 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)