public class GuiSlotRealmsProxy extends GuiSlot
| Modifier and Type | Field and Description |
|---|---|
private RealmsScrolledSelectionList |
selectionList |
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width| Constructor and Description |
|---|
GuiSlotRealmsProxy(RealmsScrolledSelectionList selectionListIn,
int widthIn,
int heightIn,
int topIn,
int bottomIn,
int slotHeightIn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawBackground() |
protected void |
drawSlot(int slotIndex,
int xPos,
int yPos,
int heightIn,
int mouseXIn,
int mouseYIn,
float partialTicks) |
protected void |
elementClicked(int slotIndex,
boolean isDoubleClick,
int mouseX,
int mouseY) |
protected int |
getContentHeight() |
int |
getMouseX() |
int |
getMouseY() |
protected int |
getScrollBarX() |
protected int |
getSize() |
int |
getWidth() |
void |
handleMouseInput() |
protected boolean |
isSelected(int slotIndex) |
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getEnabled, getListWidth, getMaxScroll, getSlotHeight, getSlotIndexFromScreenCoords, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPosprivate final RealmsScrolledSelectionList selectionList
public GuiSlotRealmsProxy(RealmsScrolledSelectionList selectionListIn, int widthIn, int heightIn, int topIn, int bottomIn, int slotHeightIn)
protected void elementClicked(int slotIndex,
boolean isDoubleClick,
int mouseX,
int mouseY)
elementClicked in class GuiSlotprotected boolean isSelected(int slotIndex)
isSelected in class GuiSlotprotected void drawBackground()
drawBackground in class GuiSlotprotected void drawSlot(int slotIndex,
int xPos,
int yPos,
int heightIn,
int mouseXIn,
int mouseYIn,
float partialTicks)
public int getWidth()
public int getMouseY()
public int getMouseX()
protected int getContentHeight()
getContentHeight in class GuiSlotprotected int getScrollBarX()
getScrollBarX in class GuiSlotpublic void handleMouseInput()
handleMouseInput in class GuiSlot