YATS/Forge Documentation
|
Public Member Functions | |
GuiContainer (Container par1Container) | |
void | initGui () |
void | drawScreen (int par1, int par2, float par3) |
void | onGuiClosed () |
boolean | doesGuiPauseGame () |
void | updateScreen () |
![]() | |
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) |
![]() | |
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 |
![]() | |
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) |
![]() | |
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) |
![]() | |
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 |
![]() | |
Minecraft | mc |
List | buttonList = new ArrayList() |
FontRenderer | fontRenderer |
![]() | |
float | zLevel = 0.0F |
Static Protected Attributes | |
static RenderItem | itemRenderer = new RenderItem() |
Additional Inherited Members | |
![]() | |
static String | getClipboardString () |
static void | setClipboardString (String par0Str) |
static boolean | isCtrlKeyDown () |
static boolean | isShiftKeyDown () |
![]() | |
static final boolean | isMacOs = Minecraft.getOs() == EnumOS.MACOS |
net.minecraft.client.gui.inventory.GuiContainer.GuiContainer | ( | Container | par1Container) |
|
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
|
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.
|
protectedpure virtual |
Draw the background layer for the GuiContainer (everything behind the items)
Implemented in net.minecraft.client.gui.inventory.GuiContainerCreative, net.minecraft.client.gui.inventory.GuiBeacon, net.minecraft.client.gui.GuiRepair, net.minecraft.client.gui.GuiMerchant, net.minecraft.client.gui.GuiEnchantment, net.minecraft.client.gui.inventory.GuiInventory, net.minecraft.client.gui.inventory.GuiChest, net.minecraft.client.gui.GuiHopper, YATS.client.gui.GuiRoutingMarshaller, net.minecraft.client.gui.inventory.GuiBrewingStand, net.minecraft.client.gui.inventory.GuiDispenser, net.minecraft.client.gui.inventory.GuiFurnace, YATS.client.gui.GuiAdvExtractor, and net.minecraft.client.gui.inventory.GuiCrafting.
|
protected |
Draw the foreground layer for the GuiContainer (everything in front of the items)
|
protected |
|
protected |
void net.minecraft.client.gui.inventory.GuiContainer.drawScreen | ( | int | par1, |
int | par2, | ||
float | par3 | ||
) |
Draws the screen and all the components in it.
|
protected |
Draws an inventory slot
|
protected |
|
protected |
|
protected |
void net.minecraft.client.gui.inventory.GuiContainer.initGui | ( | ) |
Adds the buttons (and other controls) to the screen in question.
|
protected |
Args: left, top, width, height, pointX, pointY. Note: left, top are local to Gui, pointX, pointY are local to screen
|
protected |
Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).
|
protected |
Called when the mouse is clicked.
|
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.
|
protected |
|
protected |
|
protected |
|
protected |
Container net.minecraft.client.gui.inventory.GuiContainer.inventorySlots |
A list of the players inventory slots.
|
staticprotected |
Stacks renderer. Icons, stack size, health, etc...
|
protected |
The X size of the inventory window in pixels.
|
protected |
The Y size of the inventory window in pixels.