public class GuiPageButtonList extends GuiListExtended
Modifier and Type | Class and Description |
---|---|
static class |
GuiPageButtonList.EditBoxEntry |
static class |
GuiPageButtonList.GuiButtonEntry |
static class |
GuiPageButtonList.GuiEntry |
static class |
GuiPageButtonList.GuiLabelEntry |
static class |
GuiPageButtonList.GuiListEntry |
static interface |
GuiPageButtonList.GuiResponder |
static class |
GuiPageButtonList.GuiSlideEntry |
GuiListExtended.IGuiListEntry
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width
Constructor and Description |
---|
GuiPageButtonList(Minecraft mcIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn,
GuiPageButtonList.GuiResponder p_i45536_7_,
GuiPageButtonList.GuiListEntry[]... p_i45536_8_) |
Modifier and Type | Method and Description |
---|---|
Gui |
getComponent(int p_178061_1_) |
Gui |
getFocusedControl() |
GuiPageButtonList.GuiEntry |
getListEntry(int index) |
int |
getListWidth() |
int |
getPage() |
int |
getPageCount() |
protected int |
getScrollBarX() |
int |
getSize() |
boolean |
mouseClicked(int mouseX,
int mouseY,
int mouseEvent) |
void |
nextPage() |
void |
onKeyPressed(char p_178062_1_,
int p_178062_2_) |
void |
previousPage() |
void |
setActive(boolean p_181155_1_) |
void |
setPage(int p_181156_1_) |
drawBackground, drawSlot, elementClicked, isSelected, 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
public GuiPageButtonList(Minecraft mcIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn, GuiPageButtonList.GuiResponder p_i45536_7_, GuiPageButtonList.GuiListEntry[]... p_i45536_8_)
public void setPage(int p_181156_1_)
public int getPage()
public int getPageCount()
public Gui getFocusedControl()
public void previousPage()
public void nextPage()
public Gui getComponent(int p_178061_1_)
public void setActive(boolean p_181155_1_)
public boolean mouseClicked(int mouseX, int mouseY, int mouseEvent)
mouseClicked
in class GuiListExtended
public void onKeyPressed(char p_178062_1_, int p_178062_2_)
public GuiPageButtonList.GuiEntry getListEntry(int index)
getListEntry
in class GuiListExtended
public int getListWidth()
getListWidth
in class GuiSlot
protected int getScrollBarX()
getScrollBarX
in class GuiSlot