public class GuiRepair extends GuiContainer implements ICrafting
field_110408_a, field_94076_q, field_94077_p, guiLeft, guiTop, inventorySlots, itemRenderer, xSize, ySize
allowUserInput, buttonList, fontRenderer, height, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiRepair(InventoryPlayer par1InventoryPlayer,
World par2World,
int par3,
int par4,
int par5) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float par1,
int par2,
int par3)
Draw the background layer for the GuiContainer (everything behind the items)
|
protected void |
drawGuiContainerForegroundLayer(int par1,
int par2)
Draw the foreground layer for the GuiContainer (everything in front of the items)
|
void |
drawScreen(int par1,
int par2,
float par3)
Draws the screen and all the components in it.
|
void |
initGui()
Adds the buttons (and other controls) to the screen in question.
|
protected void |
keyTyped(char par1,
int par2)
Fired when a key is typed.
|
protected void |
mouseClicked(int par1,
int par2,
int par3)
Called when the mouse is clicked.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
void |
sendContainerAndContentsToPlayer(Container par1Container,
java.util.List par2List) |
void |
sendProgressBarUpdate(Container par1Container,
int par2,
int par3)
Sends two ints to the client-side Container.
|
void |
sendSlotContents(Container par1Container,
int par2,
ItemStack par3ItemStack)
Sends the contents of an inventory slot to the client-side Container.
|
checkHotbarKeys, doesGuiPauseGame, drawCreativeTabHoveringText, drawHoveringText, drawItemStackTooltip, drawSlotInventory, func_102021_a, handleMouseClick, isPointInRegion, mouseClickMove, mouseMovedOrUp, updateScreen
actionPerformed, confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine
public GuiRepair(InventoryPlayer par1InventoryPlayer, World par2World, int par3, int par4, int par5)
public void initGui()
initGui
in class GuiContainer
public void onGuiClosed()
onGuiClosed
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int par1, int par2)
drawGuiContainerForegroundLayer
in class GuiContainer
protected void keyTyped(char par1, int par2)
keyTyped
in class GuiContainer
protected void mouseClicked(int par1, int par2, int par3)
mouseClicked
in class GuiContainer
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiContainer
protected void drawGuiContainerBackgroundLayer(float par1, int par2, int par3)
drawGuiContainerBackgroundLayer
in class GuiContainer
public void sendContainerAndContentsToPlayer(Container par1Container, java.util.List par2List)
sendContainerAndContentsToPlayer
in interface ICrafting
public void sendSlotContents(Container par1Container, int par2, ItemStack par3ItemStack)
sendSlotContents
in interface ICrafting
public void sendProgressBarUpdate(Container par1Container, int par2, int par3)
sendProgressBarUpdate
in interface ICrafting