public class GuiRepair extends GuiContainer implements ICrafting
inventorySlots
allowUserInput, height, width
icons, optionsBackground, statIcons
Constructor and Description |
---|
GuiRepair(InventoryPlayer par1InventoryPlayer,
World par2World,
int par3,
int par4,
int par5) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
onGuiClosed()
Called when the screen is unloaded.
|
void |
sendContainerAndContentsToPlayer(Container par1Container,
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.
|
doesGuiPauseGame, updateScreen
confirmClicked, drawBackground, drawDefaultBackground, drawWorldBackground, getClipboardString, handleInput, handleKeyboardInput, handleMouseInput, isCtrlKeyDown, isShiftKeyDown, setClipboardString, setWorldAndResolution
drawCenteredString, drawRect, drawString, drawTexturedModalRect, drawTexturedModelRectFromIcon
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
public void drawScreen(int par1, int par2, float par3)
drawScreen
in class GuiContainer
public void sendContainerAndContentsToPlayer(Container par1Container, 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