Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static ItemStack getItem(Material material, int amount, short durability, String displayname, List<String> lore) {
- ItemStack item = new ItemStack(material, amount, durability);
- ItemMeta meta = item.getItemMeta();
- meta.setDisplayName(NapTheCham.Color(displayname));
- meta.setLore(lore);
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, short durability, String displayname, List<String> lore) {
- ItemStack item = new ItemStack(material, 1, durability);
- ItemMeta meta = item.getItemMeta();
- meta.setDisplayName(NapTheCham.Color(displayname));
- meta.setLore(lore);
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, int amount, String displayname, List<String> lore) {
- ItemStack item = new ItemStack(material, amount);
- ItemMeta meta = item.getItemMeta();
- meta.setDisplayName(NapTheCham.Color(displayname));
- meta.setLore(lore);
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, String displayname, List<String> lore) {
- ItemStack item = new ItemStack(material, 1);
- ItemMeta meta = item.getItemMeta();
- meta.setDisplayName(NapTheCham.Color(displayname));
- meta.setLore(lore);
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, int amount, short durability, String displayname) {
- ItemStack item = new ItemStack(material, amount, durability);
- ItemMeta meta = item.getItemMeta();
- meta.setDisplayName(NapTheCham.Color(displayname));
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, int amount, short durability, List<String> lore) {
- ItemStack item = new ItemStack(material, amount, durability);
- ItemMeta meta = item.getItemMeta();
- meta.setLore(lore);
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, short durability, String displayname) {
- ItemStack item = new ItemStack(material, 1, durability);
- ItemMeta meta = item.getItemMeta();
- meta.setDisplayName(NapTheCham.Color(displayname));
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, int amount, short durability) {
- ItemStack item = new ItemStack(material, amount, durability);
- return item;
- }
- public static ItemStack getItem(Material material, int amount, List<String> lore) {
- ItemStack item = new ItemStack(material, amount);
- ItemMeta meta = item.getItemMeta();
- meta.setLore(lore);
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material, String displayname) {
- ItemStack item = new ItemStack(material, 1);
- ItemMeta meta = item.getItemMeta();
- meta.setDisplayName(NapTheCham.Color(displayname));
- item.setItemMeta(meta);
- return item;
- }
- public static ItemStack getItem(Material material) {
- ItemStack item = new ItemStack(material, 1);
- return item;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement