Ir para conteúdo
  • 0

String - Lore


Ducky

Pergunta

5 respostass a esta questão

Posts Recomendados


List<String> list = Main.getInstance().getConfig().getStringList("Menu_Confirmacao.Lore_Aceitar");

List<String> newList = new ArrayList<String>();

for (String string : list) {

newList.add(string.replace("&", "§"));

laVerdeMeta.setLore(newList);

Link para o comentário
Compartilhar em outros sites


ItemStack i = new ItemStack(Material.STONE);

ItemMeta im = (ItemMeta) i;

 

ArrayList<String> lore = new ArrayList<>();

 

lore.add("lore1");

lore.add("lore2");

lore.add("lore3");

 

im.setLore(lore);

 

i.setItemMeta(im);

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...