net.minecraft.client.gui
Class GuiMerchant
java.lang.Object
net.minecraft.client.gui.Gui
net.minecraft.client.gui.GuiScreen
net.minecraft.client.gui.inventory.GuiContainer
net.minecraft.client.gui.GuiMerchant
public class GuiMerchant
- extends GuiContainer
Method Summary |
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. |
Methods inherited from class net.minecraft.client.gui.GuiScreen |
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution |
GuiMerchant
public GuiMerchant(InventoryPlayer par1InventoryPlayer,
IMerchant par2IMerchant,
World par3World)
initGui
public void initGui()
- Adds the buttons (and other controls) to the screen in question.
- Overrides:
initGui
in class GuiContainer
updateScreen
public void updateScreen()
- Called from the main game loop to update the screen.
- Overrides:
updateScreen
in class GuiContainer
drawScreen
public void drawScreen(int par1,
int par2,
float par3)
- Draws the screen and all the components in it.
- Overrides:
drawScreen
in class GuiContainer
getIMerchant
public IMerchant getIMerchant()
- Gets the Instance of IMerchant interface.