YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.gui.inventory.GuiContainer Class Referenceabstract
Inheritance diagram for net.minecraft.client.gui.inventory.GuiContainer:
net.minecraft.client.gui.GuiScreen net.minecraft.client.gui.Gui net.minecraft.client.gui.GuiEnchantment net.minecraft.client.gui.GuiHopper net.minecraft.client.gui.GuiMerchant net.minecraft.client.gui.GuiRepair net.minecraft.client.gui.inventory.GuiBeacon net.minecraft.client.gui.inventory.GuiBrewingStand net.minecraft.client.gui.inventory.GuiChest net.minecraft.client.gui.inventory.GuiCrafting net.minecraft.client.gui.inventory.GuiDispenser net.minecraft.client.gui.inventory.GuiFurnace net.minecraft.client.renderer.InventoryEffectRenderer YATS.client.gui.GuiAdvExtractor YATS.client.gui.GuiRoutingMarshaller

Public Member Functions

 GuiContainer (Container par1Container)
 
void initGui ()
 
void drawScreen (int par1, int par2, float par3)
 
void onGuiClosed ()
 
boolean doesGuiPauseGame ()
 
void updateScreen ()
 
- Public Member Functions inherited from net.minecraft.client.gui.GuiScreen
void drawScreen (int par1, int par2, float par3)
 
void setWorldAndResolution (Minecraft par1Minecraft, int par2, int par3)
 
void initGui ()
 
void handleInput ()
 
void handleMouseInput ()
 
void handleKeyboardInput ()
 
void updateScreen ()
 
void onGuiClosed ()
 
void drawDefaultBackground ()
 
void drawWorldBackground (int par1)
 
void drawBackground (int par1)
 
boolean doesGuiPauseGame ()
 
void confirmClicked (boolean par1, int par2)
 
- Public Member Functions inherited from net.minecraft.client.gui.Gui
void drawCenteredString (FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)
 
void drawString (FontRenderer par1FontRenderer, String par2Str, int par3, int par4, int par5)
 
void drawTexturedModalRect (int par1, int par2, int par3, int par4, int par5, int par6)
 
void drawTexturedModelRectFromIcon (int par1, int par2, Icon par3Icon, int par4, int par5)
 

Public Attributes

Container inventorySlots
 
- Public Attributes inherited from net.minecraft.client.gui.GuiScreen
int width
 
int height
 
boolean allowUserInput = false
 
GuiParticle guiParticles
 

Protected Member Functions

void drawItemStackTooltip (ItemStack par1ItemStack, int par2, int par3)
 
void drawCreativeTabHoveringText (String par1Str, int par2, int par3)
 
void func_102021_a (List par1List, int par2, int par3)
 
void drawHoveringText (List par1List, int par2, int par3, FontRenderer font)
 
void drawGuiContainerForegroundLayer (int par1, int par2)
 
abstract void drawGuiContainerBackgroundLayer (float f, int i, int j)
 
void drawSlotInventory (Slot par1Slot)
 
void mouseClicked (int par1, int par2, int par3)
 
void func_85041_a (int par1, int par2, int par3, long par4)
 
void mouseMovedOrUp (int par1, int par2, int par3)
 
boolean isPointInRegion (int par1, int par2, int par3, int par4, int par5, int par6)
 
void handleMouseClick (Slot par1Slot, int par2, int par3, int par4)
 
void keyTyped (char par1, int par2)
 
boolean checkHotbarKeys (int par1)
 
- Protected Member Functions inherited from net.minecraft.client.gui.GuiScreen
void keyTyped (char par1, int par2)
 
void mouseClicked (int par1, int par2, int par3)
 
void mouseMovedOrUp (int par1, int par2, int par3)
 
void func_85041_a (int par1, int par2, int par3, long par4)
 
void actionPerformed (GuiButton par1GuiButton)
 
- Protected Member Functions inherited from net.minecraft.client.gui.Gui
void drawHorizontalLine (int par1, int par2, int par3, int par4)
 
void drawVerticalLine (int par1, int par2, int par3, int par4)
 
void drawGradientRect (int par1, int par2, int par3, int par4, int par5, int par6)
 

Protected Attributes

int xSize = 176
 
int ySize = 166
 
int guiLeft
 
int guiTop
 
final Set field_94077_p = new HashSet()
 
boolean field_94076_q
 
- Protected Attributes inherited from net.minecraft.client.gui.GuiScreen
Minecraft mc
 
List buttonList = new ArrayList()
 
FontRenderer fontRenderer
 
- Protected Attributes inherited from net.minecraft.client.gui.Gui
float zLevel = 0.0F
 

Static Protected Attributes

static RenderItem itemRenderer = new RenderItem()
 

Additional Inherited Members

- Static Public Member Functions inherited from net.minecraft.client.gui.GuiScreen
static String getClipboardString ()
 
static void setClipboardString (String par0Str)
 
static boolean isCtrlKeyDown ()
 
static boolean isShiftKeyDown ()
 
- Static Public Attributes inherited from net.minecraft.client.gui.GuiScreen
static final boolean isMacOs = Minecraft.getOs() == EnumOS.MACOS
 

Constructor & Destructor Documentation

net.minecraft.client.gui.inventory.GuiContainer.GuiContainer ( Container  par1Container)

Member Function Documentation

boolean net.minecraft.client.gui.inventory.GuiContainer.checkHotbarKeys ( int  par1)
protected

This function is what controls the hotbar shortcut check when you press a number key when hovering a stack.

boolean net.minecraft.client.gui.inventory.GuiContainer.doesGuiPauseGame ( )

Returns true if this GUI should pause the game when it is displayed in single-player

void net.minecraft.client.gui.inventory.GuiContainer.drawCreativeTabHoveringText ( String  par1Str,
int  par2,
int  par3 
)
protected

Draws the text when mouse is over creative inventory tab. Params: current creative tab to be checked, current mouse x position, current mouse y position.

void net.minecraft.client.gui.inventory.GuiContainer.drawGuiContainerForegroundLayer ( int  par1,
int  par2 
)
protected

Draw the foreground layer for the GuiContainer (everything in front of the items)

void net.minecraft.client.gui.inventory.GuiContainer.drawHoveringText ( List  par1List,
int  par2,
int  par3,
FontRenderer  font 
)
protected
void net.minecraft.client.gui.inventory.GuiContainer.drawItemStackTooltip ( ItemStack  par1ItemStack,
int  par2,
int  par3 
)
protected
void net.minecraft.client.gui.inventory.GuiContainer.drawScreen ( int  par1,
int  par2,
float  par3 
)

Draws the screen and all the components in it.

void net.minecraft.client.gui.inventory.GuiContainer.drawSlotInventory ( Slot  par1Slot)
protected

Draws an inventory slot

void net.minecraft.client.gui.inventory.GuiContainer.func_102021_a ( List  par1List,
int  par2,
int  par3 
)
protected
void net.minecraft.client.gui.inventory.GuiContainer.func_85041_a ( int  par1,
int  par2,
int  par3,
long  par4 
)
protected
void net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick ( Slot  par1Slot,
int  par2,
int  par3,
int  par4 
)
protected
void net.minecraft.client.gui.inventory.GuiContainer.initGui ( )

Adds the buttons (and other controls) to the screen in question.

boolean net.minecraft.client.gui.inventory.GuiContainer.isPointInRegion ( int  par1,
int  par2,
int  par3,
int  par4,
int  par5,
int  par6 
)
protected

Args: left, top, width, height, pointX, pointY. Note: left, top are local to Gui, pointX, pointY are local to screen

void net.minecraft.client.gui.inventory.GuiContainer.keyTyped ( char  par1,
int  par2 
)
protected

Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).

void net.minecraft.client.gui.inventory.GuiContainer.mouseClicked ( int  par1,
int  par2,
int  par3 
)
protected

Called when the mouse is clicked.

void net.minecraft.client.gui.inventory.GuiContainer.mouseMovedOrUp ( int  par1,
int  par2,
int  par3 
)
protected

Called when the mouse is moved or a mouse button is released. Signature: (mouseX, mouseY, which) which==-1 is mouseMove, which==0 or which==1 is mouseUp

void net.minecraft.client.gui.inventory.GuiContainer.onGuiClosed ( )

Called when the screen is unloaded. Used to disable keyboard repeat events

void net.minecraft.client.gui.inventory.GuiContainer.updateScreen ( )

Called from the main game loop to update the screen.

Member Data Documentation

boolean net.minecraft.client.gui.inventory.GuiContainer.field_94076_q
protected
final Set net.minecraft.client.gui.inventory.GuiContainer.field_94077_p = new HashSet()
protected
int net.minecraft.client.gui.inventory.GuiContainer.guiLeft
protected

Starting X position for the Gui. Inconsistent use for Gui backgrounds.

int net.minecraft.client.gui.inventory.GuiContainer.guiTop
protected

Starting Y position for the Gui. Inconsistent use for Gui backgrounds.

Container net.minecraft.client.gui.inventory.GuiContainer.inventorySlots

A list of the players inventory slots.

RenderItem net.minecraft.client.gui.inventory.GuiContainer.itemRenderer = new RenderItem()
staticprotected

Stacks renderer. Icons, stack size, health, etc...

int net.minecraft.client.gui.inventory.GuiContainer.xSize = 176
protected

The X size of the inventory window in pixels.

int net.minecraft.client.gui.inventory.GuiContainer.ySize = 166
protected

The Y size of the inventory window in pixels.


The documentation for this class was generated from the following file: