public class GuiFurnace extends GuiContainer
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
FURNACE_GUI_TEXTURES |
private InventoryPlayer |
playerInventory |
private IInventory |
tileFurnace |
dragSplitting, dragSplittingSlots, guiLeft, guiTop, INVENTORY_BACKGROUND, inventorySlots, xSize, ySize
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiFurnace(InventoryPlayer playerInv,
IInventory furnaceInv) |
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) |
private int |
getBurnLeftScaled(int pixels) |
private int |
getCookProgressScaled(int pixels) |
checkHotbarKeys, doesGuiPauseGame, getGuiLeft, getGuiTop, getSlotUnderMouse, getXSize, getYSize, handleMouseClick, hasClickedOutside, initGui, isPointInRegion, keyTyped, mouseClicked, mouseClickMove, mouseReleased, onGuiClosed, renderHoveredToolTip, updateScreen
actionPerformed, addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final ResourceLocation FURNACE_GUI_TEXTURES
private final InventoryPlayer playerInventory
private final IInventory tileFurnace
public GuiFurnace(InventoryPlayer playerInv, IInventory furnaceInv)
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiContainer
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)