Guest User

Untitled

a guest
May 19th, 2016
28
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package me.chromenized.custome;
  2.  
  3. import org.bukkit.Material;
  4. import org.bukkit.enchantments.Enchantment;
  5. import org.bukkit.inventory.ItemStack;
  6.  
  7. import com.rit.sucy.CustomEnchantment;
  8.  
  9. public class VanillaEnchant extends CustomEnchantment {
  10.  
  11. public void VanillaEnchantment(org.bukkit.enchantments.Enchantment vanilla, Material items,
  12. java.lang.String group, java.lang.String[] suffixGroup, int weight, double base, double interval, int max,
  13. java.lang.String name) {
  14.  
  15. items = Material.DIAMOND_AXE;
  16.  
  17. }
  18.  
  19.  
  20. public org.bukkit.inventory.ItemStack addToItem(org.bukkit.inventory.ItemStack item, int enchantLevel) {
  21.  
  22.  
  23. item = new ItemStack(Material.DIAMOND_AXE);
  24.  
  25.  
  26. return item;
  27.  
  28. }
  29.  
  30. }
RAW Paste Data Copied