YATS/Forge Documentation
|
Public Member Functions | |
GuiRepair (InventoryPlayer par1, World par2World, int par3, int par4, int par5) | |
void | initGui () |
void | onGuiClosed () |
void | drawScreen (int par1, int par2, float par3) |
void | sendContainerAndContentsToPlayer (Container par1Container, List par2List) |
void | sendSlotContents (Container par1Container, int par2, ItemStack par3ItemStack) |
void | sendProgressBarUpdate (Container par1Container, int par2, int 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 | drawGuiContainerForegroundLayer (int par1, int par2) |
void | keyTyped (char par1, int par2) |
void | mouseClicked (int par1, int par2, int par3) |
void | drawGuiContainerBackgroundLayer (float par1, int par2, int par3) |
Protected Member Functions inherited from net.minecraft.client.gui.inventory.GuiContainer | |
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) |
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) |
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() |
net.minecraft.client.gui.GuiRepair.GuiRepair | ( | InventoryPlayer | par1, |
World | par2World, | ||
int | par3, | ||
int | par4, | ||
int | par5 | ||
) |
|
protectedvirtual |
Draw the background layer for the GuiContainer (everything behind the items)
Implements net.minecraft.client.gui.inventory.GuiContainer.
|
protected |
Draw the foreground layer for the GuiContainer (everything in front of the items)
void net.minecraft.client.gui.GuiRepair.drawScreen | ( | int | par1, |
int | par2, | ||
float | par3 | ||
) |
Draws the screen and all the components in it.
void net.minecraft.client.gui.GuiRepair.initGui | ( | ) |
Adds the buttons (and other controls) to the screen in question.
|
protected |
Fired when a key is typed. This is the equivalent of KeyListener.keyTyped(KeyEvent e).
|
protected |
Called when the mouse is clicked.
void net.minecraft.client.gui.GuiRepair.onGuiClosed | ( | ) |
Called when the screen is unloaded. Used to disable keyboard repeat events
void net.minecraft.client.gui.GuiRepair.sendContainerAndContentsToPlayer | ( | Container | par1Container, |
List | par2List | ||
) |
Implements net.minecraft.inventory.ICrafting.
void net.minecraft.client.gui.GuiRepair.sendProgressBarUpdate | ( | Container | par1Container, |
int | par2, | ||
int | par3 | ||
) |
Sends two ints to the client-side Container. Used for furnace burning time, smelting progress, brewing progress, and enchanting level. Normally the first int identifies which variable to update, and the second contains the new value. Both are truncated to shorts in non-local SMP.
Implements net.minecraft.inventory.ICrafting.
void net.minecraft.client.gui.GuiRepair.sendSlotContents | ( | Container | par1Container, |
int | par2, | ||
ItemStack | par3ItemStack | ||
) |
Sends the contents of an inventory slot to the client-side Container. This doesn't have to match the actual contents of that slot. Args: Container, slot number, slot contents
Implements net.minecraft.inventory.ICrafting.