- Баллы
- 66
Помогите, как мне скрыть урон в описании ItemStack?
А именно +3 Урон
А именно +3 Урон
Код:
ItemStack tools = new ItemStack(Material.STONE_PICKAXE);
ItemMeta toolsmeta = tools.getItemMeta();
toolsmeta.setDisplayName("§bИнструменты");
ArrayList<String> toolslore = new ArrayList<String>();
toolslore.add("§e Нажмите, чтобы открыть меню! ");
toolsmeta.setLore(toolslore);
tools.setItemMeta(toolsmeta);