public class GuiMerchant extends GuiContainer
inventorySlots
allowUserInput, guiParticles, height, isMacOs, width
Constructor and Description |
---|
GuiMerchant(InventoryPlayer par1InventoryPlayer,
IMerchant par2IMerchant,
World par3World) |
Modifier and Type | Method and Description |
---|---|
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.
|
doesGuiPauseGame, onGuiClosed
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution
drawCenteredString, drawRect, drawString, drawTexturedModalRect
public GuiMerchant(InventoryPlayer par1InventoryPlayer, IMerchant par2IMerchant, World par3World)
public void initGui()
initGui
in class GuiContainer
public void updateScreen()
updateScreen
in class GuiContainer
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiContainer
public IMerchant getIMerchant()