Greenadine

Items1_12.java

Dec 17th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.12 KB | None | 0 0
  1. package me.greenadine.advancedspawners.handler;
  2.  
  3. import org.bukkit.DyeColor;
  4. import org.bukkit.Material;
  5. import org.bukkit.inventory.ItemStack;
  6.  
  7. @SuppressWarnings("deprecation")
  8. public class Items1_12 extends Items {
  9.    
  10.     public ItemStack spawner() {
  11.         return spawner(1);
  12.     }
  13.    
  14.     public ItemStack exp_bottle() {
  15.         return exp_bottle(1);
  16.     }
  17.    
  18.     public ItemStack wood_pickaxe() {
  19.         return wood_pickaxe(1);
  20.     }
  21.    
  22.     public ItemStack gold_pickaxe() {
  23.         return gold_pickaxe(1);
  24.     }
  25.    
  26.     public ItemStack white_stained_glass_pane() {
  27.         return white_stained_glass_pane(1);
  28.     }
  29.    
  30.     public ItemStack light_blue_stained_glass_pane() {
  31.         return light_blue_stained_glass_pane(1);
  32.     }
  33.    
  34.     public ItemStack white_wool() {
  35.         return white_wool(1);
  36.     }
  37.    
  38.     public ItemStack lime_wool() {
  39.         return lime_wool(1);
  40.     }
  41.    
  42.     public ItemStack red_wool() {
  43.         return red_wool(1);
  44.     }
  45.    
  46.     public ItemStack spawner(int i) {
  47.         return new ItemStack(Material.valueOf("MOB_SPAWNER"), i);
  48.     }
  49.    
  50.     public ItemStack exp_bottle(int i) {
  51.         return new ItemStack(Material.valueOf("EXP_BOTTLE"), i);
  52.     }
  53.    
  54.     public ItemStack wood_pickaxe(int i) {
  55.         return new ItemStack(Material.valueOf("WOOD_PICKAXE"), i);
  56.     }
  57.    
  58.     public ItemStack gold_pickaxe(int i) {
  59.         return new ItemStack(Material.valueOf("GOLD_PICKAXE"), i);
  60.     }
  61.    
  62.     public ItemStack white_stained_glass_pane(int i) {
  63.         return new ItemStack(Material.valueOf("STAINED_GLASS_PANE"), i, DyeColor.WHITE.getWoolData());
  64.     }
  65.    
  66.     public ItemStack light_blue_stained_glass_pane(int i) {
  67.         return new ItemStack(Material.valueOf("STAINED_GLASS_PANE"), i, DyeColor.LIGHT_BLUE.getWoolData());
  68.     }
  69.    
  70.     public ItemStack white_wool(int i) {
  71.         ItemStack item = new ItemStack(Material.valueOf("WOOL"), 1);
  72.         item.setDurability(DyeColor.WHITE.getWoolData());
  73.         return item;
  74.     }
  75.    
  76.     public ItemStack lime_wool(int i) {
  77.         ItemStack item = new ItemStack(Material.valueOf("WOOL"), 1);
  78.         item.setDurability(DyeColor.LIME.getWoolData());
  79.         return item;
  80.     }
  81.    
  82.     public ItemStack red_wool(int i) {
  83.         ItemStack item = new ItemStack(Material.valueOf("WOOL"), 1);
  84.         item.setDurability(DyeColor.RED.getWoolData());
  85.         return item;
  86.     }
  87. }
Add Comment
Please, Sign In to add comment