net.minecraft.client.gui.widget

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

extends AbstractParentElement implements Drawable

All mapped superinterfaces:

ParentElement, Element, Drawable

cwq
net.minecraft.class_350
net.minecraft.client.gui.widget.EntryListWidget
net.minecraft.client.gui.widget.list.AbstractList

Field summary

Modifier and TypeField
protected static final int
DRAG_OUTSIDE
DRAG_OUTSIDE
DRAG_OUTSIDE
DRAG_OUTSIDE
protected final MinecraftClient
minecraft
minecraft
minecraft
minecraft
protected final int
itemHeight
itemHeight
itemHeight
itemHeight
private final List<E>
children
children
children
children
protected int
width
width
width
width
protected int
height
height
height
height
protected int
y0
field_19085
top
y0
protected int
y1
field_19086
bottom
y1
protected int
x1
field_19087
right
x1
protected int
x0
field_19088
left
x0
protected boolean
centerListVertically
centerListVertically
centerListVertically
centerListVertically
protected int
yDrag
yDrag
yDrag
yDrag
private double
scrollAmount
scrollAmount
scrollAmount
scrollAmount
protected boolean
renderSelection
renderSelection
renderSelection
renderSelection
protected boolean
renderHeader
renderHeader
renderHeader
renderHeader
protected int
headerHeight
headerHeight
headerHeight
headerHeight
private boolean
scrolling
scrolling
scrolling
scrolling
private E
selected
selected
selected
selected

Constructor summary

ModifierConstructor
public (MinecraftClient arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Method summary

Modifier and TypeMethod
public void
setRenderSelection(boolean arg0)
setRenderSelection(boolean arg0)
setRenderSelection(boolean arg0)
setRenderSelection(boolean arg0)
protected void
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
setRenderHeader(boolean arg0, int arg1)
public int
getRowWidth()
getRowWidth()
getRowWidth()
getRowWidth()
public E
getSelected()
getSelected()
getSelected()
getSelected()
public void
setSelected(E arg0)
setSelected(E arg0)
setSelected(E arg0)
setSelected(E arg0)
public E
getFocused()
getFocused()
getFocused()
getFocused()
public final List<E>
children()
children()
children()
children()
protected final void
clearEntries()
clearEntries()
clearEntries()
clearEntries()
protected void
replaceEntries(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
replaceEntries(Collection<E> arg0)
protected E
getEntry(int arg0)
getEntry(int arg0)
getEntry(int arg0)
getEntry(int arg0)
protected int
addEntry(E arg0)
addEntry(E arg0)
addEntry(E arg0)
addEntry(E arg0)
protected int
getItemCount()
getItemCount()
getItemCount()
getItemCount()
protected boolean
isSelectedItem(int arg0)
isSelectedItem(int arg0)
isSelectedItem(int arg0)
isSelectedItem(int arg0)
protected final E
getEntryAtPosition(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
getEntryAtPosition(double arg0, double arg1)
public void
updateSize(int arg0, int arg1, int arg2, int arg3)
updateSize(int arg0, int arg1, int arg2, int arg3)
updateSize(int arg0, int arg1, int arg2, int arg3)
updateSize(int arg0, int arg1, int arg2, int arg3)
public void
setLeftPos(int arg0)
setLeftPos(int arg0)
setLeftPos(int arg0)
setLeftPos(int arg0)
protected int
getMaxPosition()
getMaxPosition()
getMaxPosition()
getMaxPosition()
protected void
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
protected void
renderHeader(int arg0, int arg1, cus arg2)
renderHeader(int arg0, int arg1, class_289 arg2)
renderHeader(int arg0, int arg1, Tessellator arg2)
renderHeader(int arg0, int arg1, Tessellator arg2)
protected void
renderBackground()
renderBackground()
renderBackground()
renderBackground()
protected void
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
public void
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
render(int arg0, int arg1, float arg2)
protected void
centerScrollOn(E arg0)
centerScrollOn(E arg0)
centerScrollOn(E arg0)
centerScrollOn(E arg0)
protected void
ensureVisible(E arg0)
ensureVisible(E arg0)
ensureVisible(E arg0)
ensureVisible(E arg0)
private void
scroll(int arg0)
scroll(int arg0)
scroll(int arg0)
scroll(int arg0)
public double
getScrollAmount()
getScrollAmount()
getScrollAmount()
getScrollAmount()
public void
setScrollAmount(double arg0)
setScrollAmount(double arg0)
setScrollAmount(double arg0)
setScrollAmount(double arg0)
private int
getMaxScroll()
getMaxScroll()
getMaxScroll()
getMaxScroll()
public int
getScrollBottom()
getScrollBottom()
getScrollBottom()
getScrollBottom()
protected void
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
updateScrollingState(double arg0, double arg1, int arg2)
protected int
getScrollbarPosition()
getScrollbarPosition()
getScrollbarPosition()
getScrollbarPosition()
public boolean
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
mouseClicked(double arg0, double arg1, int arg2)
public boolean
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
mouseReleased(double arg0, double arg1, int arg2)
public boolean
mouseDragged(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)
mouseDragged(double arg0, double arg1, int arg2, double arg3, double arg4)
public boolean
mouseScrolled(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
mouseScrolled(double arg0, double arg1, double arg2)
public boolean
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
protected void
moveSelection(int arg0)
moveSelection(int arg0)
moveSelection(int arg0)
moveSelection(int arg0)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
protected void
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
protected int
getRowLeft()
getRowLeft()
getRowLeft()
getRowLeft()
protected int
getRowTop(int arg0)
getRowTop(int arg0)
getRowTop(int arg0)
getRowTop(int arg0)
private int
getRowBottom(int arg0)
getRowBottom(int arg0)
getRowBottom(int arg0)
getRowBottom(int arg0)
protected boolean
isFocused()
isFocused()
isFocused()
isFocused()
protected void
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
protected E
remove(int arg0)
remove(int arg0)
remove(int arg0)
remove(int arg0)
protected boolean
removeEntry(E arg0)
removeEntry(E arg0)
removeEntry(E arg0)
removeEntry(E arg0)