public class GuiRepair extends GuiContainer implements ICrafting
field_147001_a, field_147007_t, field_147008_s, guiLeft, guiTop, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, 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 p_146976_1_,
int p_146976_2_,
int p_146976_3_) |
protected void |
drawGuiContainerForegroundLayer(int p_146979_1_,
int p_146979_2_)
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, func_146978_c, handleMouseClick, mouseClickMove, mouseMovedOrUp, updateScreen
actionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, func_146283_a, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, renderToolTip, setClipboardString, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon, drawVerticalLine, func_146110_a
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 p_146979_1_, int p_146979_2_)
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 p_146976_1_, int p_146976_2_, int p_146976_3_)
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