public class GuiFurnace extends GuiContainer
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
furnaceGuiTextures |
private InventoryPlayer |
playerInventory
The player inventory bound to this GUI.
|
private IInventory |
tileFurnace |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, inventoryBackground, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRendererObj, height, itemRender, labelList, mc, width
icons, optionsBackground, statIcons, zLevel
Constructor and Description |
---|
GuiFurnace(InventoryPlayer playerInv,
IInventory furnaceInv) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawGuiContainerBackgroundLayer(float partialTicks,
int mouseX,
int mouseY)
Args : renderPartialTicks, mouseX, mouseY
|
protected void |
drawGuiContainerForegroundLayer(int mouseX,
int mouseY)
Draw the foreground layer for the GuiContainer (everything in front of the items).
|
private int |
getBurnLeftScaled(int pixels) |
private int |
getCookProgressScaled(int pixels) |
checkHotbarKeys, doesGuiPauseGame, drawScreen, handleMouseClick, initGui, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, updateScreen
actionPerformed, confirmClicked, drawBackground, drawCreativeTabHoveringText, drawDefaultBackground, drawHoveringText, drawWorldBackground, getClipboardString, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final ResourceLocation furnaceGuiTextures
private final InventoryPlayer playerInventory
private IInventory tileFurnace
public GuiFurnace(InventoryPlayer playerInv, IInventory furnaceInv)
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
drawGuiContainerForegroundLayer
in class GuiContainer
protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
drawGuiContainerBackgroundLayer
in class GuiContainer
private int getCookProgressScaled(int pixels)
private int getBurnLeftScaled(int pixels)