Solved Item Lore

Discussion in 'Plugin Development' started by Markyroson, Mar 24, 2015.

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

    Markyroson

    Hello, how would I make an item have two lines of lore (as in have it drop down a line). I tried "\n" + "whatever" but that did not seem to work. Any ideas on how to do this?
     
  2. @Markyroson Very simple:
    Code:
    ArrayList<String> lore = new ArrayList<String>();
    // Set item stuff here
    lore.add("Line one.", "Line two.");
    itemMeta.setLore(lore);
     
  3. Offline

    Markyroson

    Thank you for your help, I am glad it was an easy fix! :)

    Thanks again! :)
     
    CodePlaysMinecraft likes this.
  4. Invisible

    nverdier

    @Markyroson Please mark your thread as solved! See this for more info.
     
  5. Offline

    Markyroson

    Oops, just forgot to. Is done now. Sorry about that (got distracted and forgot about it).

    @bwfcwalshy Could you please lock this thread I posted? It has been solved. Thanks in advance (because if you do I won't be able to reply to it again to thank you ;) )
     
    nverdier likes this.
  6. Locked, please use the report button next time so it can be locked sooner @Markyroson
     
Thread Status:
Not open for further replies.

Share This Page