SHARE
TWEET

Untitled

a guest May 23rd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static ItemStack getItem(Material material, int amount, short durability, String displayname, List<String> lore) {
  2.         ItemStack item = new ItemStack(material, amount, durability);
  3.         ItemMeta meta = item.getItemMeta();
  4.         meta.setDisplayName(NapTheCham.Color(displayname));
  5.         meta.setLore(lore);
  6.         item.setItemMeta(meta);
  7.         return item;
  8.     }
  9.    
  10.     public static ItemStack getItem(Material material, short durability, String displayname, List<String> lore) {
  11.         ItemStack item = new ItemStack(material, 1, durability);
  12.         ItemMeta meta = item.getItemMeta();
  13.         meta.setDisplayName(NapTheCham.Color(displayname));
  14.         meta.setLore(lore);
  15.         item.setItemMeta(meta);
  16.         return item;
  17.     }
  18.    
  19.     public static ItemStack getItem(Material material, int amount, String displayname, List<String> lore) {
  20.         ItemStack item = new ItemStack(material, amount);
  21.         ItemMeta meta = item.getItemMeta();
  22.         meta.setDisplayName(NapTheCham.Color(displayname));
  23.         meta.setLore(lore);
  24.         item.setItemMeta(meta);
  25.         return item;
  26.     }
  27.    
  28.     public static ItemStack getItem(Material material, String displayname, List<String> lore) {
  29.         ItemStack item = new ItemStack(material, 1);
  30.         ItemMeta meta = item.getItemMeta();
  31.         meta.setDisplayName(NapTheCham.Color(displayname));
  32.         meta.setLore(lore);
  33.         item.setItemMeta(meta);
  34.         return item;
  35.     }
  36.    
  37.     public static ItemStack getItem(Material material, int amount, short durability, String displayname) {
  38.         ItemStack item = new ItemStack(material, amount, durability);
  39.         ItemMeta meta = item.getItemMeta();
  40.         meta.setDisplayName(NapTheCham.Color(displayname));
  41.         item.setItemMeta(meta);
  42.         return item;
  43.     }
  44.    
  45.     public static ItemStack getItem(Material material, int amount, short durability, List<String> lore) {
  46.         ItemStack item = new ItemStack(material, amount, durability);
  47.         ItemMeta meta = item.getItemMeta();
  48.         meta.setLore(lore);
  49.         item.setItemMeta(meta);
  50.         return item;
  51.     }
  52.    
  53.     public static ItemStack getItem(Material material, short durability, String displayname) {
  54.         ItemStack item = new ItemStack(material, 1, durability);
  55.         ItemMeta meta = item.getItemMeta();
  56.         meta.setDisplayName(NapTheCham.Color(displayname));
  57.         item.setItemMeta(meta);
  58.         return item;
  59.     }
  60.    
  61.     public static ItemStack getItem(Material material, int amount, short durability) {
  62.         ItemStack item = new ItemStack(material, amount, durability);
  63.         return item;
  64.     }
  65.    
  66.     public static ItemStack getItem(Material material, int amount, List<String> lore) {
  67.         ItemStack item = new ItemStack(material, amount);
  68.         ItemMeta meta = item.getItemMeta();
  69.         meta.setLore(lore);
  70.         item.setItemMeta(meta);
  71.         return item;
  72.     }
  73.    
  74.     public static ItemStack getItem(Material material, String displayname) {
  75.         ItemStack item = new ItemStack(material, 1);
  76.         ItemMeta meta = item.getItemMeta();
  77.         meta.setDisplayName(NapTheCham.Color(displayname));
  78.         item.setItemMeta(meta);
  79.         return item;
  80.     }
  81.    
  82.     public static ItemStack getItem(Material material) {
  83.         ItemStack item = new ItemStack(material, 1);
  84.         return item;
  85.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top