Facebook
From walkyGaming, 6 Years ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 263
  1. package net.yamas.enchant.utils;
  2.  
  3. import java.util.Arrays;
  4.  
  5. import org.bukkit.Bukkit;
  6. import org.bukkit.Material;
  7. import org.bukkit.enchantments.Enchantment;
  8. import org.bukkit.inventory.Inventory;
  9. import org.bukkit.inventory.ItemStack;
  10. import org.bukkit.inventory.meta.ItemMeta;
  11.  
  12.  
  13. public class InventoryUtils {
  14.        
  15.         public static ItemStack bookshelf = new ItemStack(Material.BOOKSHELF, 1);{
  16.                 ItemMeta im = bookshelf.getItemMeta();
  17.                 im.setDisplayName("§8Ilosc biblioteczek: §7{BOOKSHELF}");
  18.                 bookshelf.setItemMeta(im);
  19.         }
  20.        
  21.         public static ItemStack author = new ItemStack(Material.PAPER, 1);{
  22.                 ItemMeta im = author.getItemMeta();
  23.                 im.setDisplayName("§cRC-ENCHANTS");
  24.                 im.setLore(Arrays.asList(" ",
  25.                                 "§aAutor: §cwalkyGaming",
  26.                                 "§aWykonane dla: §cRCDROP.PL",
  27.                                 "§aWersja: §c0.1 Beta"));
  28.                 author.setItemMeta(im);
  29.         }
  30.        
  31.         @SuppressWarnings("deprecation")
  32.         public static ItemStack glass = new ItemStack(Material.getMaterial(160), 1, (short) 8);{
  33.                 ItemMeta im = glass.getItemMeta();
  34.                 im.setDisplayName("§cRC-ENCHANTS");
  35.                 im.setLore(Arrays.asList(" ",
  36.                                 "§aAutor: §cwalkyGaming",
  37.                                 "§aWykonane dla: §cRCDROP.PL",
  38.                                 "§aWersja: §c0.1 Beta"));
  39.                 glass.setItemMeta(im);
  40.         }
  41.        
  42.         public static ItemStack close = new ItemStack(Material.FIRE, 1);{
  43.                 ItemMeta im = close.getItemMeta();
  44.                 im.setDisplayName(" ");
  45.                 im.setLore(Arrays.asList("§8(§aKliknij, aby zamknac§8)"));
  46.                 close.setItemMeta(im);
  47.         }
  48.        
  49.         public static ItemStack prot4 = new ItemStack(Material.BOOK, 1);{
  50.                 ItemMeta im = prot4.getItemMeta();
  51.                 im.setDisplayName("§7Ochrona");
  52.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 4","§aKoszt: §c25 poziom doswiadczenia"));
  53.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 4, true);
  54.                 prot4.setItemMeta(im);
  55.         }
  56.        
  57.         public static ItemStack prot5 = new ItemStack(Material.BOOK, 1);{
  58.                 ItemMeta im = prot5.getItemMeta();
  59.                 im.setDisplayName("§7Ochrona");
  60.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 5","§aKoszt: §c25 poziom doswiadczenia"));
  61.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 5, true);
  62.                 prot5.setItemMeta(im);
  63.         }
  64.        
  65.         public static ItemStack prot6 = new ItemStack(Material.BOOK, 1);{
  66.                 ItemMeta im = prot6.getItemMeta();
  67.                 im.setDisplayName("§7Ochrona");
  68.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 6","§aKoszt: §c25 poziom doswiadczenia"));
  69.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 6, true);
  70.                 prot6.setItemMeta(im);
  71.         }
  72.        
  73.         public static ItemStack prot7 = new ItemStack(Material.BOOK, 1);{
  74.                 ItemMeta im = prot7.getItemMeta();
  75.                 im.setDisplayName("§7Ochrona");
  76.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 7","§aKoszt: §c25 poziom doswiadczenia"));
  77.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 7, true);
  78.                 prot7.setItemMeta(im);
  79.         }
  80.        
  81.         public static ItemStack prot8 = new ItemStack(Material.BOOK, 1);{
  82.                 ItemMeta im = prot8.getItemMeta();
  83.                 im.setDisplayName("§7Ochrona");
  84.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 8","§aKoszt: §c25 poziom doswiadczenia"));
  85.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 8, true);
  86.                 prot8.setItemMeta(im);
  87.         }
  88.         // -------------------------------------------------------------------------------------
  89.         public static ItemStack ub3 = new ItemStack(Material.BOOK, 1);{
  90.                 ItemMeta im = ub3.getItemMeta();
  91.                 im.setDisplayName("§7Unbreaking");
  92.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 3","§aKoszt: §c25 poziom doswiadczenia"));
  93.                 im.addEnchant(Enchantment.DURABILITY, 3, true);
  94.                 ub3.setItemMeta(im);
  95.         }
  96.        
  97.         public static ItemStack ub4 = new ItemStack(Material.BOOK, 1);{
  98.                 ItemMeta im = ub4.getItemMeta();
  99.                 im.setDisplayName("§7Unbreaking");
  100.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 4","§aKoszt: §c25 poziom doswiadczenia"));
  101.                 im.addEnchant(Enchantment.DURABILITY, 4, true);
  102.                 ub4.setItemMeta(im);
  103.         }
  104.        
  105.         public static ItemStack ub5 = new ItemStack(Material.BOOK, 1);{
  106.                 ItemMeta im = ub5.getItemMeta();
  107.                 im.setDisplayName("§7Unbreaking");
  108.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 5","§aKoszt: §c25 poziom doswiadczenia"));
  109.                 im.addEnchant(Enchantment.DURABILITY, 5, true);
  110.                 ub5.setItemMeta(im);
  111.         }
  112.        
  113.         public static ItemStack ub6 = new ItemStack(Material.BOOK, 1);{
  114.                 ItemMeta im = ub6.getItemMeta();
  115.                 im.setDisplayName("§7Unbreaking");
  116.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 6","§aKoszt: §c25 poziom doswiadczenia"));
  117.                 im.addEnchant(Enchantment.DURABILITY, 6, true);
  118.                 ub6.setItemMeta(im);
  119.         }
  120.        
  121.         public static ItemStack ub7 = new ItemStack(Material.BOOK, 1);{
  122.                 ItemMeta im = ub7.getItemMeta();
  123.                 im.setDisplayName("§7Unbreaking");
  124.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 7","§aKoszt: §c25 poziom doswiadczenia"));
  125.                 im.addEnchant(Enchantment.DURABILITY, 7, true);
  126.                 ub7.setItemMeta(im);
  127.         }
  128.         // -------------------------------------------------------------------------------------
  129.         public static ItemStack fl3 = new ItemStack(Material.BOOK, 1);{
  130.                 ItemMeta im = ub3.getItemMeta();
  131.                 im.setDisplayName("§7Feather falling");
  132.                 im.setLore(Arrays.asList("§aEnchant: §cFeather falling 3","§aKoszt: §c25 poziom doswiadczenia"));
  133.                 im.addEnchant(Enchantment.PROTECTION_FALL, 3, true);
  134.                 ub3.setItemMeta(im);
  135.         }
  136.        
  137.         public static ItemStack fl4 = new ItemStack(Material.BOOK, 1);{
  138.                 ItemMeta im = ub4.getItemMeta();
  139.                 im.setDisplayName("§7Feather falling");
  140.                 im.setLore(Arrays.asList("§aEnchant: §cFeather falling 4","§aKoszt: §c25 poziom doswiadczenia"));
  141.                 im.addEnchant(Enchantment.PROTECTION_FALL, 4, true);
  142.                 ub4.setItemMeta(im);
  143.         }
  144.        
  145.         public static ItemStack fl5 = new ItemStack(Material.BOOK, 1);{
  146.                 ItemMeta im = ub5.getItemMeta();
  147.                 im.setDisplayName("§7Feather falling");
  148.                 im.setLore(Arrays.asList("§aEnchant: §cFeather falling 5","§aKoszt: §c25 poziom doswiadczenia"));
  149.                 im.addEnchant(Enchantment.PROTECTION_FALL, 5, true);
  150.                 ub5.setItemMeta(im);
  151.         }
  152.        
  153.         // -------------------------------------------------------------------------------------
  154.         public static ItemStack sharp5 = new ItemStack(Material.BOOK, 1);{
  155.                 ItemMeta im = sharp5.getItemMeta();
  156.                 im.setDisplayName("§7Ostrosc");
  157.                 im.setLore(Arrays.asList("§aEnchant: §cOstrosc 5","§aKoszt: §c25 poziom doswiadczenia"));
  158.                 im.addEnchant(Enchantment.DAMAGE_ALL, 5, true);
  159.                 sharp5.setItemMeta(im);
  160.         }
  161.        
  162.         public static ItemStack sharp6 = new ItemStack(Material.BOOK, 1);{
  163.                 ItemMeta im = sharp6.getItemMeta();
  164.                 im.setDisplayName("§7Ostrosc");
  165.                 im.setLore(Arrays.asList("§aEnchant: §cOstrosc 6","§aKoszt: §c25 poziom doswiadczenia"));
  166.                 im.addEnchant(Enchantment.DAMAGE_ALL, 6, true);
  167.                 sharp6.setItemMeta(im);
  168.         }
  169.        
  170.         public static ItemStack sharp7 = new ItemStack(Material.BOOK, 1);{
  171.                 ItemMeta im = sharp7.getItemMeta();
  172.                 im.setDisplayName("§7Ostrosc");
  173.                 im.setLore(Arrays.asList("§aEnchant: §cOstrosc 7","§aKoszt: §c25 poziom doswiadczenia"));
  174.                 im.addEnchant(Enchantment.DAMAGE_ALL, 7, true);
  175.                 sharp7.setItemMeta(im);
  176.         }
  177.        
  178.         // -------------------------------------------------------------------------------------
  179.         public static ItemStack fireaspect2 = new ItemStack(Material.BOOK, 1);{
  180.                 ItemMeta im = fireaspect2.getItemMeta();
  181.                 im.setDisplayName("§7Fire aspect");
  182.                 im.setLore(Arrays.asList("§aEnchant: §cFire aspect 2","§aKoszt: §c25 poziom doswiadczenia"));
  183.                 im.addEnchant(Enchantment.FIRE_ASPECT, 2, true);
  184.                 fireaspect2.setItemMeta(im);
  185.         }
  186.        
  187.         public static ItemStack fireaspect3 = new ItemStack(Material.BOOK, 1);{
  188.                 ItemMeta im = fireaspect3.getItemMeta();
  189.                 im.setDisplayName("§7Fire aspect");
  190.                 im.setLore(Arrays.asList("§aEnchant: §cFire aspect 2","§aKoszt: §c25 poziom doswiadczenia"));
  191.                 im.addEnchant(Enchantment.FIRE_ASPECT, 3, true);
  192.                 fireaspect3.setItemMeta(im);
  193.         }
  194.        
  195.         // -------------------------------------------------------------------------------------
  196.         public static ItemStack knockback1 = new ItemStack(Material.BOOK, 1);{
  197.                 ItemMeta im = fireaspect2.getItemMeta();
  198.                 im.setDisplayName("§7Knockback");
  199.                 im.setLore(Arrays.asList("§aEnchant: §cKnockback 1","§aKoszt: §c25 poziom doswiadczenia"));
  200.                 im.addEnchant(Enchantment.KNOCKBACK, 1, true);
  201.                 fireaspect2.setItemMeta(im);
  202.         }
  203.        
  204.         public static ItemStack knockback2 = new ItemStack(Material.BOOK, 1);{
  205.                 ItemMeta im = knockback2.getItemMeta();
  206.                 im.setDisplayName("§7Knockback");
  207.                 im.setLore(Arrays.asList("§aEnchant: §cKnockback 2","§aKoszt: §c25 poziom doswiadczenia"));
  208.                 im.addEnchant(Enchantment.KNOCKBACK, 2, true);
  209.                 knockback2.setItemMeta(im);
  210.         }
  211.        
  212.         public static ItemStack knockback3 = new ItemStack(Material.BOOK, 1);{
  213.                 ItemMeta im = knockback3.getItemMeta();
  214.                 im.setDisplayName("§7Knockback");
  215.                 im.setLore(Arrays.asList("§aEnchant: §cKnockback 3","§aKoszt: §c25 poziom doswiadczenia"));
  216.                 im.addEnchant(Enchantment.KNOCKBACK, 3, true);
  217.                 knockback3.setItemMeta(im);
  218.         }
  219.         // -------------------------------------------------------------------------------------
  220.         public static ItemStack looting3 = new ItemStack(Material.BOOK, 1);{
  221.                 ItemMeta im = looting3.getItemMeta();
  222.                 im.setDisplayName("§7Looting");
  223.                 im.setLore(Arrays.asList("§aEnchant: §cLooting 3","§aKoszt: §c25 poziom doswiadczenia"));
  224.                 im.addEnchant(Enchantment.LOOT_BONUS_MOBS, 3, true);
  225.                 looting3.setItemMeta(im);
  226.         }
  227.        
  228.         public static ItemStack looting4 = new ItemStack(Material.BOOK, 1);{
  229.                 ItemMeta im = looting4.getItemMeta();
  230.                 im.setDisplayName("§7Looting");
  231.                 im.setLore(Arrays.asList("§aEnchant: §cLooting 4","§aKoszt: §c25 poziom doswiadczenia"));
  232.                 im.addEnchant(Enchantment.LOOT_BONUS_MOBS, 4, true);
  233.                 looting4.setItemMeta(im);
  234.         }
  235.         // -------------------------------------------------------------------------------------
  236.         public static ItemStack efficiency4 = new ItemStack(Material.BOOK, 1);{
  237.                 ItemMeta im = efficiency4.getItemMeta();
  238.                 im.setDisplayName("§7Efficiency");
  239.                 im.setLore(Arrays.asList("§aEnchant: §cEfficiency 4","§aKoszt: §c25 poziom doswiadczenia"));
  240.                 im.addEnchant(Enchantment.DIG_SPEED, 4, true);
  241.                 efficiency4.setItemMeta(im);
  242.         }
  243.        
  244.         public static ItemStack efficiency5 = new ItemStack(Material.BOOK, 1);{
  245.                 ItemMeta im = efficiency5.getItemMeta();
  246.                 im.setDisplayName("§7Efficiency");
  247.                 im.setLore(Arrays.asList("§aEnchant: §cEfficiency 5","§aKoszt: §c25 poziom doswiadczenia"));
  248.                 im.addEnchant(Enchantment.DIG_SPEED, 5, true);
  249.                 efficiency5.setItemMeta(im);
  250.         }
  251.        
  252.         public static ItemStack efficiency6 = new ItemStack(Material.BOOK, 1);{
  253.                 ItemMeta im = efficiency6.getItemMeta();
  254.                 im.setDisplayName("§7Efficiency");
  255.                 im.setLore(Arrays.asList("§aEnchant: §cEfficiency 6","§aKoszt: §c25 poziom doswiadczenia"));
  256.                 im.addEnchant(Enchantment.DIG_SPEED, 6, true);
  257.                 efficiency6.setItemMeta(im);
  258.         }
  259.         // -------------------------------------------------------------------------------------
  260.         public static ItemStack fortune1 = new ItemStack(Material.BOOK, 1);{
  261.                 ItemMeta im = fortune1.getItemMeta();
  262.                 im.setDisplayName("§7Fortune");
  263.                 im.setLore(Arrays.asList("§aEnchant: §cFortune 1","§aKoszt: §c25 poziom doswiadczenia"));
  264.                 im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 4, true);
  265.                 fortune1.setItemMeta(im);
  266.         }
  267.        
  268.         public static ItemStack fortune2 = new ItemStack(Material.BOOK, 1);{
  269.                 ItemMeta im = fortune2.getItemMeta();
  270.                 im.setDisplayName("§7Fortune");
  271.                 im.setLore(Arrays.asList("§aEnchant: §cFortune 2","§aKoszt: §c25 poziom doswiadczenia"));
  272.                 im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 2, true);
  273.                 fortune2.setItemMeta(im);
  274.         }
  275.        
  276.         public static ItemStack fortune3 = new ItemStack(Material.BOOK, 1);{
  277.                 ItemMeta im = fortune3.getItemMeta();
  278.                 im.setDisplayName("§7Fortune");
  279.                 im.setLore(Arrays.asList("§aEnchant: §cFortune 3","§aKoszt: §c25 poziom doswiadczenia"));
  280.                 im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 3, true);
  281.                 fortune3.setItemMeta(im);
  282.         }
  283.        
  284.         // -------------------------------------------------------------------------------------
  285.         public static ItemStack power5 = new ItemStack(Material.BOOK, 1);{
  286.                 ItemMeta im = power5.getItemMeta();
  287.                 im.setDisplayName("§7Power");
  288.                 im.setLore(Arrays.asList("§aEnchant: §cPower 5","§aKoszt: §c25 poziom doswiadczenia"));
  289.                 im.addEnchant(Enchantment.ARROW_DAMAGE, 5, true);
  290.                 power5.setItemMeta(im);
  291.         }
  292.        
  293.         public static ItemStack power6 = new ItemStack(Material.BOOK, 1);{
  294.                 ItemMeta im = power6.getItemMeta();
  295.                 im.setDisplayName("§7Power");
  296.                 im.setLore(Arrays.asList("§aEnchant: §cPower 6","§aKoszt: §c25 poziom doswiadczenia"));
  297.                 im.addEnchant(Enchantment.ARROW_DAMAGE, 6, true);
  298.                 power6.setItemMeta(im);
  299.         }
  300.        
  301.         public static ItemStack power7 = new ItemStack(Material.BOOK, 1);{
  302.                 ItemMeta im = power7.getItemMeta();
  303.                 im.setDisplayName("§7Power");
  304.                 im.setLore(Arrays.asList("§aEnchant: §cPower 7","§aKoszt: §c25 poziom doswiadczenia"));
  305.                 im.addEnchant(Enchantment.ARROW_DAMAGE, 7, true);
  306.                 power7.setItemMeta(im);
  307.         }
  308.        
  309.         // -------------------------------------------------------------------------------------
  310.         public static ItemStack punch2 = new ItemStack(Material.BOOK, 1);{
  311.                 ItemMeta im = punch2.getItemMeta();
  312.                 im.setDisplayName("§7Punch");
  313.                 im.setLore(Arrays.asList("§aEnchant: §cPower 2","§aKoszt: §c25 poziom doswiadczenia"));
  314.                 im.addEnchant(Enchantment.ARROW_KNOCKBACK, 2, true);
  315.                 punch2.setItemMeta(im);
  316.         }
  317.        
  318.         public static ItemStack punch3 = new ItemStack(Material.BOOK, 1);{
  319.                 ItemMeta im = punch3.getItemMeta();
  320.                 im.setDisplayName("§7Punch");
  321.                 im.setLore(Arrays.asList("§aEnchant: §cPower 3","§aKoszt: §c25 poziom doswiadczenia"));
  322.                 im.addEnchant(Enchantment.ARROW_KNOCKBACK, 3, true);
  323.                 punch3.setItemMeta(im);
  324.         }
  325.        
  326.         public static ItemStack punch4 = new ItemStack(Material.BOOK, 1);{
  327.                 ItemMeta im = punch4.getItemMeta();
  328.                 im.setDisplayName("§7Punch");
  329.                 im.setLore(Arrays.asList("§aEnchant: §cPower 4","§aKoszt: §c25 poziom doswiadczenia"));
  330.                 im.addEnchant(Enchantment.ARROW_KNOCKBACK, 4, true);
  331.                 punch4.setItemMeta(im);
  332.         }
  333.        
  334.         // -------------------------------------------------------------------------------------
  335.         public static ItemStack flame1 = new ItemStack(Material.BOOK, 1);{
  336.                 ItemMeta im = flame1.getItemMeta();
  337.                 im.setDisplayName("§7Flame");
  338.                 im.setLore(Arrays.asList("§aEnchant: §cFlame 1","§aKoszt: §c25 poziom doswiadczenia"));
  339.                 im.addEnchant(Enchantment.ARROW_FIRE, 1, true);
  340.                 flame1.setItemMeta(im);
  341.         }
  342.        
  343.         public static ItemStack flame2 = new ItemStack(Material.BOOK, 1);{
  344.                 ItemMeta im = flame2.getItemMeta();
  345.                 im.setDisplayName("§7Flame");
  346.                 im.setLore(Arrays.asList("§aEnchant: §cFlame 2","§aKoszt: §c25 poziom doswiadczenia"));
  347.                 im.addEnchant(Enchantment.ARROW_FIRE, 2, true);
  348.                 flame2.setItemMeta(im);
  349.         }
  350.        
  351.         // -------------------------------------------------------------------------------------
  352.         public static ItemStack infinity1 = new ItemStack(Material.BOOK, 1);{
  353.                 ItemMeta im = infinity1.getItemMeta();
  354.                 im.setDisplayName("§7Infinity");
  355.                 im.setLore(Arrays.asList("§aEnchant: §cInfinity 1","§aKoszt: §c25 poziom doswiadczenia"));
  356.                 im.addEnchant(Enchantment.ARROW_INFINITE, 1, true);
  357.                 infinity1.setItemMeta(im);
  358.         }
  359.        
  360.         public static Inventory armor = Bukkit.createInventory(null, 27, "§aENCHANTOWANIE");{
  361.                 armor.setItem(0, bookshelf);
  362.                 armor.setItem(1, bookshelf);
  363.                 armor.setItem(2, bookshelf);
  364.                 armor.setItem(3, bookshelf);
  365.                 armor.setItem(4, bookshelf);
  366.                 armor.setItem(5, bookshelf);
  367.                 armor.setItem(6, bookshelf);
  368.                 armor.setItem(7, bookshelf);
  369.                 armor.setItem(8, bookshelf);
  370.                
  371.                 armor.setItem(9, prot4);
  372.                 armor.setItem(10, prot5);
  373.                 armor.setItem(11, prot6);
  374.                 armor.setItem(12, prot7);
  375.                 armor.setItem(13, prot8);
  376.                 armor.setItem(14, glass);
  377.                 armor.setItem(15, glass);
  378.                 armor.setItem(16, glass);
  379.                 armor.setItem(17, glass);
  380.                
  381.                 armor.setItem(18, ub3);
  382.                 armor.setItem(19, ub4);
  383.                 armor.setItem(20, ub5);
  384.                 armor.setItem(21, ub6);
  385.                 armor.setItem(22, ub7);
  386.                 armor.setItem(23, glass);
  387.                 armor.setItem(24, glass);
  388.                 armor.setItem(25, glass);
  389.                 armor.setItem(26, glass);
  390.                
  391.                 armor.setItem(27, fl3);
  392.                 armor.setItem(28, fl4);
  393.                 armor.setItem(29, fl5);
  394.                 armor.setItem(30, glass);
  395.                 armor.setItem(31, glass);
  396.                 armor.setItem(32, glass);
  397.                 armor.setItem(33, glass);
  398.                 armor.setItem(34, glass);
  399.                 armor.setItem(35, glass);
  400.                
  401.                 armor.setItem(36, glass);
  402.                 armor.setItem(37, glass);
  403.                 armor.setItem(38, glass);
  404.                 armor.setItem(39, glass);
  405.                 armor.setItem(40, glass);
  406.                 armor.setItem(41, glass);
  407.                 armor.setItem(42, glass);
  408.                 armor.setItem(43, glass);
  409.                 armor.setItem(44, glass);
  410.                
  411.                 armor.setItem(45, bookshelf);
  412.                 armor.setItem(46, bookshelf);
  413.                 armor.setItem(47, bookshelf);
  414.                 armor.setItem(48, author);
  415.                 armor.setItem(49, close);
  416.                 armor.setItem(50, author);
  417.                 armor.setItem(51, bookshelf);
  418.                 armor.setItem(52, bookshelf);
  419.                 armor.setItem(53, bookshelf);
  420.         }
  421.        
  422.         public static Inventory pvp = Bukkit.createInventory(null, 56, "§aENCHANTOWANIE");{
  423.                 pvp.setItem(0, bookshelf);
  424.                 pvp.setItem(1, bookshelf);
  425.                 pvp.setItem(2, bookshelf);
  426.                 pvp.setItem(3, bookshelf);
  427.                 pvp.setItem(4, bookshelf);
  428.                 pvp.setItem(5, bookshelf);
  429.                 pvp.setItem(6, bookshelf);
  430.                 pvp.setItem(7, bookshelf);
  431.                 pvp.setItem(8, bookshelf);
  432.                
  433.                 pvp.setItem(9, sharp5);
  434.                 pvp.setItem(10, sharp6);
  435.                 pvp.setItem(11, sharp7);
  436.                 pvp.setItem(12, glass);
  437.                 pvp.setItem(13, glass);
  438.                 pvp.setItem(14, glass);
  439.                 pvp.setItem(15, glass);
  440.                 pvp.setItem(16, glass);
  441.                 pvp.setItem(17, glass);
  442.                
  443.                 pvp.setItem(18, fireaspect2);
  444.                 pvp.setItem(19, fireaspect3);
  445.                 pvp.setItem(20, glass);
  446.                 pvp.setItem(21, glass);
  447.                 pvp.setItem(22, glass);
  448.                 pvp.setItem(23, glass);
  449.                 pvp.setItem(24, glass);
  450.                 pvp.setItem(25, glass);
  451.                 pvp.setItem(26, glass);
  452.                
  453.                 pvp.setItem(27, knockback1);
  454.                 pvp.setItem(28, knockback2);
  455.                 pvp.setItem(29, knockback3);
  456.                 pvp.setItem(30, glass);
  457.                 pvp.setItem(31, glass);
  458.                 pvp.setItem(32, glass);
  459.                 pvp.setItem(33, glass);
  460.                 pvp.setItem(34, glass);
  461.                 pvp.setItem(35, glass);
  462.                
  463.                 pvp.setItem(36, looting3);
  464.                 pvp.setItem(37, looting4);
  465.                 pvp.setItem(38, glass);
  466.                 pvp.setItem(39, glass);
  467.                 pvp.setItem(40, glass);
  468.                 pvp.setItem(41, glass);
  469.                 pvp.setItem(42, glass);
  470.                 pvp.setItem(43, glass);
  471.                 pvp.setItem(44, glass);
  472.                
  473.                 pvp.setItem(45, bookshelf);
  474.                 pvp.setItem(46, bookshelf);
  475.                 pvp.setItem(47, bookshelf);
  476.                 pvp.setItem(48, author);
  477.                 pvp.setItem(49, close);
  478.                 pvp.setItem(50, author);
  479.                 pvp.setItem(51, bookshelf);
  480.                 pvp.setItem(52, bookshelf);
  481.                 pvp.setItem(53, bookshelf);
  482.         }
  483.        
  484.         public static Inventory bow = Bukkit.createInventory(null, 56, "§aENCHANTOWANIE");{
  485.                 bow.setItem(0, bookshelf);
  486.                 bow.setItem(1, bookshelf);
  487.                 bow.setItem(2, bookshelf);
  488.                 bow.setItem(3, bookshelf);
  489.                 bow.setItem(4, bookshelf);
  490.                 bow.setItem(5, bookshelf);
  491.                 bow.setItem(6, bookshelf);
  492.                 bow.setItem(7, bookshelf);
  493.                 bow.setItem(8, bookshelf);
  494.                
  495.                 bow.setItem(9, power5);
  496.                 bow.setItem(10, power6);
  497.                 bow.setItem(11, power7);
  498.                 bow.setItem(12, glass);
  499.                 bow.setItem(13, glass);
  500.                 bow.setItem(14, glass);
  501.                 bow.setItem(15, glass);
  502.                 bow.setItem(16, glass);
  503.                 bow.setItem(17, glass);
  504.                
  505.                 bow.setItem(18, punch2);
  506.                 bow.setItem(19, punch3);
  507.                 bow.setItem(20, punch4);
  508.                 bow.setItem(21, glass);
  509.                 bow.setItem(22, glass);
  510.                 bow.setItem(23, glass);
  511.                 bow.setItem(24, glass);
  512.                 bow.setItem(25, glass);
  513.                 bow.setItem(26, glass);
  514.                
  515.                 bow.setItem(27, flame1);
  516.                 bow.setItem(28, flame2);
  517.                 bow.setItem(29, glass);
  518.                 bow.setItem(30, glass);
  519.                 bow.setItem(31, glass);
  520.                 bow.setItem(32, glass);
  521.                 bow.setItem(33, glass);
  522.                 bow.setItem(34, glass);
  523.                 bow.setItem(35, glass);
  524.                
  525.                 bow.setItem(36, infinity1);
  526.                 bow.setItem(37, glass);
  527.                 bow.setItem(38, glass);
  528.                 bow.setItem(39, glass);
  529.                 bow.setItem(40, glass);
  530.                 bow.setItem(41, glass);
  531.                 bow.setItem(42, glass);
  532.                 bow.setItem(43, glass);
  533.                 bow.setItem(44, glass);
  534.                
  535.                 bow.setItem(45, bookshelf);
  536.                 bow.setItem(46, bookshelf);
  537.                 bow.setItem(47, bookshelf);
  538.                 bow.setItem(48, author);
  539.                 bow.setItem(49, close);
  540.                 bow.setItem(50, author);
  541.                 bow.setItem(51, bookshelf);
  542.                 bow.setItem(52, bookshelf);
  543.                 bow.setItem(53, bookshelf);
  544.         }
  545.         public static Inventory digging = Bukkit.createInventory(null, 54, "§aENCHANTOWANIE");{
  546.                 digging.setItem(0, bookshelf);
  547.                 digging.setItem(1, bookshelf);
  548.                 digging.setItem(2, bookshelf);
  549.                 digging.setItem(3, bookshelf);
  550.                 digging.setItem(4, bookshelf);
  551.                 digging.setItem(5, bookshelf);
  552.                 digging.setItem(6, bookshelf);
  553.                 digging.setItem(7, bookshelf);
  554.                 digging.setItem(8, bookshelf);
  555.                
  556.                 digging.setItem(9, efficiency4);
  557.                 digging.setItem(10, efficiency5);
  558.                 digging.setItem(11, efficiency6);
  559.                 digging.setItem(12, glass);
  560.                 digging.setItem(13, glass);
  561.                 digging.setItem(14, glass);
  562.                 digging.setItem(15, glass);
  563.                 digging.setItem(16, glass);
  564.                 digging.setItem(17, glass);
  565.                
  566.                 digging.setItem(18, fortune1);
  567.                 digging.setItem(19, fortune2);
  568.                 digging.setItem(20, fortune3);
  569.                 digging.setItem(21, glass);
  570.                 digging.setItem(22, glass);
  571.                 digging.setItem(23, glass);
  572.                 digging.setItem(24, glass);
  573.                 digging.setItem(25, glass);
  574.                 digging.setItem(26, glass);
  575.                
  576.                 digging.setItem(27, ub3);
  577.                 digging.setItem(28, ub4);
  578.                 digging.setItem(29, ub5);
  579.                 digging.setItem(30, ub6);
  580.                 digging.setItem(31, glass);
  581.                 digging.setItem(32, glass);
  582.                 digging.setItem(33, glass);
  583.                 digging.setItem(34, glass);
  584.                 digging.setItem(35, glass);
  585.                
  586.                 digging.setItem(36, glass);
  587.                 digging.setItem(37, glass);
  588.                 digging.setItem(38, glass);
  589.                 digging.setItem(39, glass);
  590.                 digging.setItem(40, glass);
  591.                 digging.setItem(41, glass);
  592.                 digging.setItem(42, glass);
  593.                 digging.setItem(43, glass);
  594.                 digging.setItem(44, glass);
  595.                
  596.                 digging.setItem(45, bookshelf);
  597.                 digging.setItem(46, bookshelf);
  598.                 digging.setItem(47, bookshelf);
  599.                 digging.setItem(48, author);
  600.                 digging.setItem(49, close);
  601.                 digging.setItem(50, author);
  602.                 digging.setItem(51, bookshelf);
  603.                 digging.setItem(52, bookshelf);
  604.                 digging.setItem(53, bookshelf);
  605.         }
  606.        
  607.  
  608. }
  609.