public class GuiRepair extends GuiContainer implements IContainerListener
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRendererObj, height, itemRender, keyHandled, labelList, mc, mouseHandled, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiRepair(InventoryPlayer inventoryIn,
World worldIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY) |
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY) |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
initGui() |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onGuiClosed() |
void |
sendAllWindowProperties(Container containerIn,
IInventory inventory) |
void |
sendProgressBarUpdate(Container containerIn,
int varToUpdate,
int newValue) |
void |
sendSlotContents(Container containerToSend,
int slotInd,
ItemStack stack) |
void |
updateCraftingInventory(Container containerToSend,
NonNullList<ItemStack> itemsList) |
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, isPointInRegion, mouseClickMove, mouseReleased, updateScreen
actionPerformed, addButton, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiRepair(InventoryPlayer inventoryIn, World worldIn)
public void initGui()
initGui
in class GuiContainer
public void onGuiClosed()
onGuiClosed
in class GuiContainer
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
keyTyped
in class GuiContainer
java.io.IOException
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiContainer
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiContainer
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
public void updateCraftingInventory(Container containerToSend, NonNullList<ItemStack> itemsList)
updateCraftingInventory
in interface IContainerListener
public void sendSlotContents(Container containerToSend, int slotInd, ItemStack stack)
sendSlotContents
in interface IContainerListener
public void sendProgressBarUpdate(Container containerIn, int varToUpdate, int newValue)
sendProgressBarUpdate
in interface IContainerListener
public void sendAllWindowProperties(Container containerIn, IInventory inventory)
sendAllWindowProperties
in interface IContainerListener