class GuiLanguage.List extends GuiSlot
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.String> |
langCodeList |
private java.util.Map<java.lang.String,Language> |
languageMap |
amountScrolled, bottom, centerListVertically, hasListHeader, headerPadding, height, initialClickY, lastClicked, left, mc, mouseX, mouseY, right, scrollMultiplier, selectedElement, showSelectionBox, slotHeight, top, visible, width
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() |
protected int |
getSize() |
protected boolean |
isSelected(int slotIndex) |
actionPerformed, bindAmountScrolled, clickedHeader, drawContainerBackground, drawListHeader, drawScreen, drawSelectionBox, getAmountScrolled, getEnabled, getListWidth, getMaxScroll, getScrollBarX, getSlotHeight, getSlotIndexFromScreenCoords, handleMouseInput, isMouseYWithinSlotBounds, overlayBackground, registerScrollButtons, renderDecorations, scrollBy, setDimensions, setEnabled, setHasListHeader, setShowSelectionBox, setSlotXBoundsFromLeft, updateItemPos
private final java.util.List<java.lang.String> langCodeList
private final java.util.Map<java.lang.String,Language> languageMap
public List(Minecraft mcIn)
protected void elementClicked(int slotIndex, boolean isDoubleClick, int mouseX, int mouseY)
elementClicked
in class GuiSlot
protected boolean isSelected(int slotIndex)
isSelected
in class GuiSlot
protected int getContentHeight()
getContentHeight
in class GuiSlot
protected void drawBackground()
drawBackground
in class GuiSlot