public class GuiInventory extends InventoryEffectRenderer
dragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiInventory(EntityPlayer p_i1094_1_) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button)
Called by the controls from the buttonList when activated.
|
static void |
drawEntityOnScreen(int posX,
int posY,
int scale,
float mouseX,
float mouseY,
EntityLivingBase ent)
Draws the entity to the screen.
|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
Args : renderPartialTicks, mouseX, mouseY
|
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
Draw the foreground layer for the GuiContainer (everything in front of the items).
|
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks)
Draws the screen and all the components in it.
|
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.
|
updateActivePotionEffects
checkHotbarKeys, doesGuiPauseGame, getSlotUnderMouse, handleMouseClick, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed
confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, func_183500_a, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiInventory(EntityPlayer p_i1094_1_)
public void updateScreen()
updateScreen
in class GuiContainer
public void initGui()
initGui
in class InventoryEffectRenderer
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class InventoryEffectRenderer
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
public static void drawEntityOnScreen(int posX, int posY, int scale, float mouseX, float mouseY, EntityLivingBase ent)
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException