Multiple Lore Lines to an item?

Discussion in 'Plugin Development' started by leland22, Feb 21, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    leland22

    Just wondering how would I add multiple lines of lore to an item if say I wanted a variable on the second line?
     
  2. Offline

    superguy9

    You would use your item meta variable instead of 'im', but try this:
    Code:java
    1. im.setLore(Arrays.asList(String, String, etc.));
    Hope this helped!
     
    KingOfTheEast01 likes this.
  3. Offline

    leland22

    superguy9 So would each of the strings occur on a seperate line?
     
  4. Offline

    superguy9

    Yes. Every comma that is between two strings, it creates a new line.
     
Thread Status:
Not open for further replies.

Share This Page