public class GuiInventory extends InventoryEffectRenderer
dragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySizeallowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, widthicons, 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.
|
updateActivePotionEffectscheckHotbarKeys, doesGuiPauseGame, getSlotUnderMouse, handleMouseClick, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosedconfirmClicked, 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, setWorldAndResolutiondrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLinepublic GuiInventory(EntityPlayer p_i1094_1_)
public void updateScreen()
updateScreen in class GuiContainerpublic void initGui()
initGui in class InventoryEffectRendererprotected void drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
drawGuiContainerForegroundLayer in class GuiContainerpublic void drawScreen(int mouseX,
int mouseY,
float partialTicks)
drawScreen in class InventoryEffectRendererprotected void drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
drawGuiContainerBackgroundLayer in class GuiContainerpublic 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 GuiScreenjava.io.IOException