YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.client.gui.inventory.GuiContainerCreative Class Reference
Inheritance diagram for net.minecraft.client.gui.inventory.GuiContainerCreative:
net.minecraft.client.renderer.InventoryEffectRenderer net.minecraft.client.gui.inventory.GuiContainer net.minecraft.client.gui.GuiScreen net.minecraft.client.gui.Gui

Public Member Functions

 GuiContainerCreative (EntityPlayer par1EntityPlayer)
 
void updateScreen ()
 
void initGui ()
 
void onGuiClosed ()
 
void handleMouseInput ()
 
void drawScreen (int par1, int par2, float par3)
 
int func_74230_h ()
 
- Public Member Functions inherited from net.minecraft.client.renderer.InventoryEffectRenderer
 InventoryEffectRenderer (Container par1Container)
 
void initGui ()
 
void drawScreen (int par1, int par2, float par3)
 
- Public Member Functions inherited from net.minecraft.client.gui.inventory.GuiContainer
 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)
 

Protected Member Functions

void handleMouseClick (Slot par1Slot, int par2, int par3, int par4)
 
void keyTyped (char par1, int par2)
 
void drawGuiContainerForegroundLayer (int par1, int par2)
 
void mouseClicked (int par1, int par2, int par3)
 
void mouseMovedOrUp (int par1, int par2, int par3)
 
void drawGuiContainerBackgroundLayer (float par1, int par2, int par3)
 
boolean func_74232_a (CreativeTabs par1CreativeTabs, int par2, int par3)
 
boolean renderCreativeInventoryHoveringText (CreativeTabs par1CreativeTabs, int par2, int par3)
 
void renderCreativeTab (CreativeTabs par1CreativeTabs)
 
void actionPerformed (GuiButton par1GuiButton)
 

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 ()
 
- Public Attributes inherited from net.minecraft.client.gui.inventory.GuiContainer
Container inventorySlots
 
- Static Public Attributes inherited from net.minecraft.client.gui.GuiScreen
static final boolean isMacOs = Minecraft.getOs() == EnumOS.MACOS
 
- Protected Attributes inherited from net.minecraft.client.gui.inventory.GuiContainer
int xSize = 176
 
int ySize = 166
 
int guiLeft
 
int guiTop
 
final Set field_94077_p = new HashSet()
 
boolean field_94076_q
 
- Static Protected Attributes inherited from net.minecraft.client.gui.inventory.GuiContainer
static RenderItem itemRenderer = new RenderItem()
 

Constructor & Destructor Documentation

net.minecraft.client.gui.inventory.GuiContainerCreative.GuiContainerCreative ( EntityPlayer  par1EntityPlayer)

Member Function Documentation

void net.minecraft.client.gui.inventory.GuiContainerCreative.actionPerformed ( GuiButton  par1GuiButton)
protected

Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).

void net.minecraft.client.gui.inventory.GuiContainerCreative.drawGuiContainerBackgroundLayer ( float  par1,
int  par2,
int  par3 
)
protectedvirtual

Draw the background layer for the GuiContainer (everything behind the items)

Implements net.minecraft.client.gui.inventory.GuiContainer.

void net.minecraft.client.gui.inventory.GuiContainerCreative.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.GuiContainerCreative.drawScreen ( int  par1,
int  par2,
float  par3 
)

Draws the screen and all the components in it.

int net.minecraft.client.gui.inventory.GuiContainerCreative.func_74230_h ( )
boolean net.minecraft.client.gui.inventory.GuiContainerCreative.func_74232_a ( CreativeTabs  par1CreativeTabs,
int  par2,
int  par3 
)
protected
void net.minecraft.client.gui.inventory.GuiContainerCreative.handleMouseClick ( Slot  par1Slot,
int  par2,
int  par3,
int  par4 
)
protected
void net.minecraft.client.gui.inventory.GuiContainerCreative.handleMouseInput ( )

Handles mouse input.

void net.minecraft.client.gui.inventory.GuiContainerCreative.initGui ( )

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

void net.minecraft.client.gui.inventory.GuiContainerCreative.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.GuiContainerCreative.mouseClicked ( int  par1,
int  par2,
int  par3 
)
protected

Called when the mouse is clicked.

void net.minecraft.client.gui.inventory.GuiContainerCreative.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.GuiContainerCreative.onGuiClosed ( )

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

boolean net.minecraft.client.gui.inventory.GuiContainerCreative.renderCreativeInventoryHoveringText ( CreativeTabs  par1CreativeTabs,
int  par2,
int  par3 
)
protected

Renders the creative inventory hovering text if mouse is over it. Returns true if did render or false otherwise. Params: current creative tab to be checked, current mouse x position, current mouse y position.

void net.minecraft.client.gui.inventory.GuiContainerCreative.renderCreativeTab ( CreativeTabs  par1CreativeTabs)
protected

Renders passed creative inventory tab into the screen.

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

Called from the main game loop to update the screen.


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