/** Displays the furnace GUI for the passed in furnace entity. Args: tileEntityFurnace */ public void displayGUIFurnace(TileEntityFurnace par1TileEntityFurnace) { this.incrementWindowID(); this.playerNetServerHandler.sendPacketToPlayer( new Packet100OpenWindow( this.currentWindowId, 2, par1TileEntityFurnace.getInvName(), par1TileEntityFurnace.getSizeInventory(), par1TileEntityFurnace.isInvNameLocalized())); this.openContainer = new ContainerFurnace(this.inventory, par1TileEntityFurnace); this.openContainer.windowId = this.currentWindowId; this.openContainer.addCraftingToCrafters(this); }