public class GuiMerchant extends GuiContainer
field_110408_a, field_94076_q, field_94077_p, guiLeft, guiTop, inventorySlots, itemRenderer, xSize, ySize
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiMerchant(InventoryPlayer par1InventoryPlayer,
IMerchant par2IMerchant,
World par3World,
java.lang.String par4Str) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton par1GuiButton)
Fired when a control is clicked.
|
protected void |
drawGuiContainerBackgroundLayer(float par1,
int par2,
int par3)
Draw the background layer for the GuiContainer (everything behind the items)
|
protected void |
drawGuiContainerForegroundLayer(int par1,
int par2)
Draw the foreground layer for the GuiContainer (everything in front of the items)
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
IMerchant |
getIMerchant()
Gets the Instance of IMerchant interface.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
void |
updateScreen()
Called from the main game loop to update the screen.
|
checkHotbarKeys, doesGuiPauseGame, drawCreativeTabHoveringText, drawHoveringText, drawItemStackTooltip, drawSlotInventory, func_102021_a, handleMouseClick, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseMovedOrUp, onGuiClosed
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
public GuiMerchant(InventoryPlayer par1InventoryPlayer, IMerchant par2IMerchant, World par3World, java.lang.String par4Str)
public void initGui()
initGui
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int par1, int par2)
drawGuiContainerForegroundLayer
in class GuiContainer
public void updateScreen()
updateScreen
in class GuiContainer
protected void actionPerformed(GuiButton par1GuiButton)
actionPerformed
in class GuiScreen
protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
drawGuiContainerBackgroundLayer
in class GuiContainer
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiContainer
public IMerchant getIMerchant()