sentence: in the fourteenth century , the java manuscript nagarakretagama , written by prapanca in 1365 , mentioned barune as the vassal state of majapahit , which had to make an annual tribute of 40 katis of camphor .