net.minecraft.client.gui.components

public abstract class ScrolledSelectionList

extends AbstractContainerEventHandler implements Widget

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

czw
net.minecraft.client.gui.components.ScrolledSelectionList
net.minecraft.class_358
net.minecraft.client.gui.widget.ListWidget
net.minecraft.client.gui.SlotGui

Field summary

Modifier and TypeField
protected static final int
NO_DRAG
NO_DRAG
NO_DRAG
NO_DRAG
protected static final int
DRAG_OUTSIDE
DRAG_OUTSIDE
DRAG_OUTSIDE
DRAG_OUTSIDE
protected final Minecraft
minecraft
minecraft
minecraft
minecraft
protected int
width
width
width
width
protected int
height
height
height
height
protected int
y0
y0
field_2166
y0
protected int
y1
y1
field_2165
y1
protected int
x1
x1
field_2181
x1
protected int
x0
x0
field_2180
x0
protected final int
itemHeight
itemHeight
itemHeight
itemHeight
protected boolean
centerListVertically
centerListVertically
centerListVertically
centerListVertically
protected int
yDrag
yDrag
yDrag
yDrag
protected double
yo
yo
field_2175
yo
protected boolean
visible
visible
visible
visible
protected boolean
renderSelection
renderSelection
renderSelection
renderSelection
protected boolean
renderHeader
renderHeader
renderHeader
renderHeader
protected int
headerHeight
headerHeight
headerHeight
headerHeight
private boolean
scrolling
scrolling
scrolling
scrolling

Constructor summary

ModifierConstructor
public (Minecraft client, int width, int height, int top, int bottom, int itemHeight)

Method summary

Modifier and TypeMethod
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 width, int height, int y, int bottom)
updateSize(int arg0, int arg1, int arg2, int arg3)
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 void
setVisible(boolean arg0)
setVisible(boolean arg0)
setVisible(boolean arg0)
setVisible(boolean arg0)
public boolean
isVisible()
isVisible()
isVisible()
isVisible()
protected abstract int
getItemCount()
getItemCount()
getItemCount()
getItemCount()
public List<? extends GuiEventListener>
children()
children()
children()
children()
protected boolean
selectItem(int arg0, int arg1, double arg2, double arg3)
selectItem(int arg0, int arg1, double arg2, double arg3)
selectItem(int arg0, int arg1, double arg2, double arg3)
selectItem(int index, int button, double mouseX, double mouseY)
selectItem(int arg0, int arg1, double arg2, double arg3)
protected abstract boolean
isSelectedItem(int arg0)
isSelectedItem(int arg0)
isSelectedItem(int arg0)
isSelectedItem(int index)
isSelectedItem(int arg0)
protected int
getMaxPosition()
getMaxPosition()
getMaxPosition()
getMaxPosition()
protected abstract void
renderBackground()
renderBackground()
renderBackground()
renderBackground()
protected void
updateItemPosition(int arg0, int arg1, int arg2, float arg3)
updateItemPosition(int arg0, int arg1, int arg2, float arg3)
updateItemPosition(int arg0, int arg1, int arg2, float arg3)
updateItemPosition(int index, int arg1, int arg2, float arg3)
updateItemPosition(int arg0, int arg1, int arg2, float arg3)
protected abstract void
renderItem(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, float arg6)
renderItem(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, float arg6)
renderItem(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, float arg6)
renderItem(int index, int y, int arg2, int arg3, int arg4, int arg5, float arg6)
renderItem(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, float arg6)
protected void
renderHeader(int arg0, int arg1, cuz arg2)
renderHeader(int arg0, int arg1, Tesselator arg2)
renderHeader(int arg0, int arg1, class_289 arg2)
renderHeader(int arg0, int arg1, Tessellator arg2)
protected void
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
clickedHeader(int arg0, int arg1)
protected void
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
renderDecorations(int arg0, int arg1)
public int
getItemAtPosition(double arg0, double arg1)
getItemAtPosition(double arg0, double arg1)
getItemAtPosition(double arg0, double arg1)
getItemAtPosition(double arg0, double arg1)
protected void
capYPosition()
capYPosition()
capYPosition()
capYPosition()
public int
getMaxScroll()
getMaxScroll()
getMaxScroll()
getMaxScroll()
public void
centerScrollOn(int arg0)
centerScrollOn(int arg0)
centerScrollOn(int arg0)
centerScrollOn(int arg0)
public int
getScroll()
getScroll()
getScroll()
getScroll()
public boolean
isMouseInList(double arg0, double arg1)
isMouseInList(double arg0, double arg1)
isMouseInList(double arg0, double arg1)
isMouseInList(double mouseX, double mouseY)
isMouseInList(double arg0, double arg1)
public int
getScrollBottom()
getScrollBottom()
getScrollBottom()
getScrollBottom()
public void
scroll(int arg0)
scroll(int arg0)
scroll(int arg0)
scroll(int amount)
scroll(int arg0)
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)
render(int arg0, int arg1, float arg2)
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)
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)
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)
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)
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)
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)
keyPressed(int arg0, int arg1, int arg2)
protected void
moveSelection(int arg0)
moveSelection(int arg0)
moveSelection(int arg0)
moveSelection(int arg0)
public boolean
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
charTyped(char arg0, int arg1)
public boolean
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
isMouseOver(double arg0, double arg1)
public int
getRowWidth()
getRowWidth()
getRowWidth()
getRowWidth()
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 x, int y, int mouseX, int mouseY, float arg4)
renderList(int arg0, int arg1, int arg2, int arg3, float arg4)
protected boolean
isFocused()
isFocused()
isFocused()
isFocused()
protected int
getScrollbarPosition()
getScrollbarPosition()
getScrollbarPosition()
getScrollbarPosition()
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)
public void
setLeftPos(int arg0)
setLeftPos(int arg0)
setLeftPos(int arg0)
setLeftPos(int x)
setLeftPos(int arg0)
public int
getItemHeight()
getItemHeight()
getItemHeight()
getItemHeight()