public class GuiOptionsRowList extends GuiListExtended
Modifier and Type | Class and Description |
---|---|
static class |
GuiOptionsRowList.Row |
GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
private java.util.List<GuiOptionsRowList.Row> |
options |
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width
Constructor and Description |
---|
GuiOptionsRowList(Minecraft mcIn,
int p_i45015_2_,
int p_i45015_3_,
int p_i45015_4_,
int p_i45015_5_,
int p_i45015_6_,
GameSettings.Options... p_i45015_7_) |
Modifier and Type | Method and Description |
---|---|
private GuiButton |
createButton(Minecraft mcIn,
int p_148182_2_,
int p_148182_3_,
GameSettings.Options options) |
GuiOptionsRowList.Row |
getListEntry(int index) |
int |
getListWidth() |
protected int |
getScrollBarX() |
protected int |
getSize() |
drawBackground, drawSlot, elementClicked, isSelected, mouseClicked, mouseReleased, updateItemPos
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft
private final java.util.List<GuiOptionsRowList.Row> options
public GuiOptionsRowList(Minecraft mcIn, int p_i45015_2_, int p_i45015_3_, int p_i45015_4_, int p_i45015_5_, int p_i45015_6_, GameSettings.Options... p_i45015_7_)
private GuiButton createButton(Minecraft mcIn, int p_148182_2_, int p_148182_3_, GameSettings.Options options)
public GuiOptionsRowList.Row getListEntry(int index)
getListEntry
in class GuiListExtended
public int getListWidth()
getListWidth
in class GuiSlot
protected int getScrollBarX()
getScrollBarX
in class GuiSlot