class GuiFlatPresets.ListSlot extends GuiSlot
| Modifier and Type | Field and Description | 
|---|---|
| int | selected | 
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width| Constructor and Description | 
|---|
| ListSlot() | 
| Modifier and Type | Method and Description | 
|---|---|
| private void | blitSlotBg(int p_148173_1_,
          int p_148173_2_) | 
| private void | blitSlotIcon(int p_148171_1_,
            int p_148171_2_,
            int p_148171_3_,
            int p_148171_4_) | 
| 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 | getSize() | 
| protected boolean | isSelected(int slotIndex) | 
| private void | renderIcon(int p_178054_1_,
          int p_178054_2_,
          Item icon,
          int iconMetadata) | 
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getContentHeight, getEnabled, getListWidth, getMaxScroll, getScrollBarX, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPosprivate void renderIcon(int p_178054_1_,
                        int p_178054_2_,
                        Item icon,
                        int iconMetadata)
private void blitSlotBg(int p_148173_1_,
                        int p_148173_2_)
private void blitSlotIcon(int p_148171_1_,
                          int p_148171_2_,
                          int p_148171_3_,
                          int p_148171_4_)
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 GuiSlot