public class GuiMerchant extends GuiContainer
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiMerchant(InventoryPlayer p_i45500_1_,
IMerchant p_i45500_2_,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
IMerchant |
getMerchant() |
void |
initGui() |
void |
updateScreen() |
checkHotbarKeys, doesGuiPauseGame, getSlotUnderMouse, handleMouseClick, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed
confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiMerchant(InventoryPlayer p_i45500_1_, IMerchant p_i45500_2_, World worldIn)
public void initGui()
initGui
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
public void updateScreen()
updateScreen
in class GuiContainer
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiContainer
public IMerchant getMerchant()