public class GuiMerchant extends GuiContainer
dragSplitting, dragSplittingSlots, guiLeft, guiTop, hoveredSlot, INVENTORY_BACKGROUND, inventorySlots, slotColor, xSize, ySize
allowUserInput, buttons, children, fontRenderer, height, itemRender, labels, mc, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiMerchant(InventoryPlayer playerInventoryIn,
IMerchant merchantIn,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
IMerchant |
getMerchant() |
protected void |
initGui() |
void |
render(int mouseX,
int mouseY,
float partialTicks) |
void |
tick() |
allowCloseWithEscape, doesGuiPauseGame, func_195361_a, func_195363_d, getGuiLeft, getGuiTop, getSlotColor, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, isPointInRegion, keyPressed, mouseClicked, mouseDragged, mouseReleased, onGuiClosed, renderHoveredToolTip
addButton, close, confirmResult, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getChildren, getItemToolTip, handleComponentClick, handleComponentHover, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, runOrMakeCrashReport, sendChatMessage, sendChatMessage, setText, setWorldAndResolution
focusNext, focusOn, getFocused, setDragging, setFocused
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseScrolled
canFocus, focusChanged
public GuiMerchant(InventoryPlayer playerInventoryIn, IMerchant merchantIn, World worldIn)
protected void initGui()
initGui
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
public void tick()
tick
in class GuiContainer
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
public void render(int mouseX, int mouseY, float partialTicks)
render
in class GuiContainer
public IMerchant getMerchant()