public class GuiList extends GuiBC8<ContainerList> implements IButtonClickEventListener
GuiBC8.RootPosition
container, currentMenu, isDebuggingEnabled, lowerLeftLedgerPos, lowerRightLedgerPos, mouse, rootElement, shownElements, SPRITE_DEBUG
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
Constructor and Description |
---|
GuiList(net.minecraft.entity.player.EntityPlayer iPlayer) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawBackgroundLayer(float partialTicks) |
protected void |
drawForegroundLayer() |
void |
handleButtonClick(IButtonClickEventTrigger sender,
int buttonKey) |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int x,
int y,
int b) |
drawGradientRect, drawGradientRect, drawGuiContainerBackgroundLayer, drawGuiContainerForegroundLayer, drawItemStackAt, drawProgress, drawScreen, drawString, drawTexturedModalRect, getButtonList, getElementsAt, getFontRenderer, getLastPartialTicks, mouseClickMove, mouseReleased, shouldAddHelpLedger, updateScreen
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, isPointInRegion, onGuiClosed, renderHoveredToolTip
actionPerformed, addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
public void initGui()
initGui
in class GuiBC8<ContainerList>
protected void drawBackgroundLayer(float partialTicks)
drawBackgroundLayer
in class GuiBC8<ContainerList>
protected void drawForegroundLayer()
drawForegroundLayer
in class GuiBC8<ContainerList>
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
keyTyped
in class net.minecraft.client.gui.inventory.GuiContainer
java.io.IOException
protected void mouseClicked(int x, int y, int b) throws java.io.IOException
mouseClicked
in class GuiBC8<ContainerList>
java.io.IOException
public void handleButtonClick(IButtonClickEventTrigger sender, int buttonKey)
handleButtonClick
in interface IButtonClickEventListener
buttonKey
- The key of the button. Will always be 0 if called from minecraft code (as minecraft doesn't
support button clicks with any other numbers), as opposed to if this was called from
IGuiElement
code, in which case all button keys will be listened to.