net.minecraft.client.gui.widget

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

extends AbstractContainerEventHandler implements Widget

All mapped superinterfaces:

C_90515743, GuiEventListener, Widget

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

Field summary

Modifier and TypeField
protected static final int
DRAG_OUTSIDE
f_43273049
f_43273049
DRAG_OUTSIDE
protected final Minecraft
minecraft
f_18728678
minecraft
minecraft
protected final int
itemHeight
f_13618509
itemHeight
itemHeight
private final List<E>
children
f_64492730
children
children
protected int
width
f_56600989
width
width
protected int
height
f_89708852
height
height
protected int
y0
field_19085
minY
y0
y0
protected int
y1
field_19086
maxY
y1
y1
protected int
x1
field_19087
maxX
x1
x1
protected int
x0
field_19088
minX
x0
x0
protected boolean
centerListVertically
f_34096147
f_34096147
centerListVertically
protected int
yDrag
f_65982038
f_65982038
yDrag
private double
scrollAmount
f_77547449
f_77547449
scrollAmount
protected boolean
renderSelection
f_56207978
renderSelectionHighlight
renderSelection
protected boolean
renderHeader
f_61789968
renderHeader
renderHeader
protected int
headerHeight
f_48667032
headerHeight
headerHeight
private boolean
scrolling
f_49694382
f_49694382
scrolling
private E
selected
f_84006314
selected
selected

Constructor summary

ModifierConstructor
public (Minecraft minecraft, int width, int height, int minY, int maxY, int itemHeight)

Method summary

Modifier and TypeMethod
public void
setRenderSelection(boolean arg0)
m_86839735(boolean arg0)
setRenderSelectionHighlight(boolean renderSelectionHighlight)
setRenderSelection(boolean arg0)
protected void
setRenderHeader(boolean arg0, int arg1)
m_06010670(boolean arg0, int arg1)
setHeader(boolean renderHeader, int headerHeight)
setRenderHeader(boolean arg0, int arg1)
public int
getRowWidth()
m_37460295()
getRowWidth()
getRowWidth()
public E
getSelected()
m_10535543()
getSelected()
getSelected()
public void
setSelected(E arg0)
m_96338884(E arg0)
setSelected(E selected)
setSelected(E arg0)
public E
getFocused()
m_47978329()
m_47978329()
getFocused()
public final List<E>
children()
m_71332503()
getChildren()
children()
protected final void
clearEntries()
m_09696627()
clear()
clearEntries()
protected void
replaceEntries(Collection<E> arg0)
m_78210090(Collection<E> arg0)
m_78210090(Collection<E> entries)
replaceEntries(Collection<E> arg0)
protected E
getEntry(int arg0)
m_35436980(int arg0)
getEntry(int index)
getEntry(int arg0)
protected int
addEntry(E arg0)
m_70807439(E arg0)
add(E entry)
addEntry(E arg0)
protected int
getItemCount()
m_56254783()
size()
getItemCount()
protected boolean
isSelectedItem(int arg0)
m_03532438(int arg0)
isSelected(int index)
isSelectedItem(int arg0)
protected final E
getEntryAtPosition(double arg0, double arg1)
m_19869044(double arg0, double arg1)
getEntryAt(double x, double y)
getEntryAtPosition(double arg0, double arg1)
public void
updateSize(int arg0, int arg1, int arg2, int arg3)
m_31952895(int arg0, int arg1, int arg2, int arg3)
setBounds(int width, int height, int minY, int maxY)
updateSize(int arg0, int arg1, int arg2, int arg3)
public void
setLeftPos(int arg0)
m_63090341(int arg0)
setX(int minX)
setLeftPos(int arg0)
protected int
getMaxPosition()
m_59305649()
getHeight()
getMaxPosition()
protected void
clickedHeader(int arg0, int arg1)
m_83563480(int arg0, int arg1)
m_83563480(int mouseX, int mouseY)
clickedHeader(int arg0, int arg1)
protected void
renderHeader(int arg0, int arg1, cum arg2)
m_75410398(int arg0, int arg1, class_289 arg2)
m_75410398(int x, int y, Tessellator tesselator)
renderHeader(int arg0, int arg1, Tessellator arg2)
protected void
renderBackground()
m_73025081()
m_73025081()
renderBackground()
protected void
renderDecorations(int arg0, int arg1)
m_66012864(int arg0, int arg1)
m_66012864(int mouseX, int mouseY)
renderDecorations(int arg0, int arg1)
public void
render(int arg0, int arg1, float arg2)
m_93956703(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)
m_47225689(E arg0)
m_47225689(E entry)
centerScrollOn(E arg0)
protected void
ensureVisible(E arg0)
m_20508200(E arg0)
m_20508200(E entry)
ensureVisible(E arg0)
private void
scroll(int arg0)
m_35637805(int arg0)
m_35637805(int amount)
scroll(int arg0)
public double
getScrollAmount()
m_90350902()
m_90350902()
getScrollAmount()
public void
setScrollAmount(double arg0)
m_43055016(double arg0)
m_43055016(double scroll)
setScrollAmount(double arg0)
private int
getMaxScroll()
m_08121802()
m_08121802()
getMaxScroll()
public int
getScrollBottom()
m_15086372()
m_15086372()
getScrollBottom()
protected void
updateScrollingState(double arg0, double arg1, int arg2)
m_62970063(double arg0, double arg1, int arg2)
m_62970063(double mouseX, double mouseY, int button)
updateScrollingState(double arg0, double arg1, int arg2)
protected int
getScrollbarPosition()
m_16236042()
m_16236042()
getScrollbarPosition()
public boolean
mouseClicked(double arg0, double arg1, int arg2)
m_29843171(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)
m_37728393(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)
m_52921597(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)
m_12950098(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)
m_40016007(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)
m_64376010(int arg0)
m_64376010(int index)
moveSelection(int arg0)
public boolean
isMouseOver(double arg0, double arg1)
m_74503738(double arg0, double arg1)
m_74503738(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
protected void
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
m_53703769(int arg0, int arg1, int arg2, int arg3, float arg4)
m_53703769(int x, int y, int mouseX, int mouseY, float tickDelta)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
protected int
getRowLeft()
m_26712707()
m_26712707()
getRowLeft()
protected int
getRowTop(int arg0)
m_07834828(int arg0)
m_07834828(int index)
getRowTop(int arg0)
private int
getRowBottom(int arg0)
m_42533237(int arg0)
m_42533237(int index)
getRowBottom(int arg0)
protected boolean
isFocused()
m_11149223()
m_11149223()
isFocused()
protected void
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
m_63256282(int arg0, int arg1, int arg2, int arg3)
m_63256282(int top, int bottom, int topAlpha, int bottomAlpha)
renderHoleBackground(int arg0, int arg1, int arg2, int arg3)
protected E
remove(int arg0)
m_95536423(int arg0)
m_95536423(int index)
remove(int arg0)
protected boolean
removeEntry(E arg0)
m_49998955(E arg0)
m_49998955(E entry)
removeEntry(E arg0)