Facebook
From walkyGaming, 6 Years ago, written in JavaScript.
Embed
Download Paste or View Raw
Hits: 272
  1.         public static ItemStack bookshelf = new ItemStack(Material.BOOKSHELF, 1);{
  2.                 ItemMeta im = bookshelf.getItemMeta();
  3.                 im.setDisplayName("§8Ilosc biblioteczek: §7{BOOKSHELF}");
  4.                 bookshelf.setItemMeta(im);
  5.         }
  6.        
  7.         public static ItemStack author = new ItemStack(Material.PAPER, 1);{
  8.                 ItemMeta im = author.getItemMeta();
  9.                 im.setDisplayName("§cRC-ENCHANTS");
  10.                 im.setLore(Arrays.asList(" ",
  11.                                 "§aAutor: §cwalkyGaming",
  12.                                 "§aWykonane dla: §cRCDROP.PL",
  13.                                 "§aWersja: §c0.1 Beta"));
  14.                 author.setItemMeta(im);
  15.         }
  16.        
  17.         public static ItemStack close = new ItemStack(Material.FIRE, 1);{
  18.                 ItemMeta im = close.getItemMeta();
  19.                 im.setDisplayName(" ");
  20.                 im.setLore(Arrays.asList("§8(§aKliknij, aby zamknac§8)"));
  21.                 close.setItemMeta(im);
  22.         }
  23.        
  24.         public static ItemStack prot4 = new ItemStack(Material.BOOK, 1);{
  25.                 ItemMeta im = prot4.getItemMeta();
  26.                 im.setDisplayName("§7Ochrona");
  27.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 4","§aKoszt: §c25 poziom doswiadczenia"));
  28.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 4, true);
  29.                 prot4.setItemMeta(im);
  30.         }
  31.        
  32.         public static ItemStack prot5 = new ItemStack(Material.BOOK, 1);{
  33.                 ItemMeta im = prot5.getItemMeta();
  34.                 im.setDisplayName("§7Ochrona");
  35.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 5","§aKoszt: §c25 poziom doswiadczenia"));
  36.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 5, true);
  37.                 prot5.setItemMeta(im);
  38.         }
  39.        
  40.         public static ItemStack prot6 = new ItemStack(Material.BOOK, 1);{
  41.                 ItemMeta im = prot6.getItemMeta();
  42.                 im.setDisplayName("§7Ochrona");
  43.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 6","§aKoszt: §c25 poziom doswiadczenia"));
  44.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 6, true);
  45.                 prot6.setItemMeta(im);
  46.         }
  47.        
  48.         public static ItemStack prot7 = new ItemStack(Material.BOOK, 1);{
  49.                 ItemMeta im = prot7.getItemMeta();
  50.                 im.setDisplayName("§7Ochrona");
  51.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 7","§aKoszt: §c25 poziom doswiadczenia"));
  52.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 7, true);
  53.                 prot7.setItemMeta(im);
  54.         }
  55.        
  56.         public static ItemStack prot8 = new ItemStack(Material.BOOK, 1);{
  57.                 ItemMeta im = prot8.getItemMeta();
  58.                 im.setDisplayName("§7Ochrona");
  59.                 im.setLore(Arrays.asList("§aEnchant: §cOchrona 8","§aKoszt: §c25 poziom doswiadczenia"));
  60.                 im.addEnchant(Enchantment.PROTECTION_ENVIRONMENTAL, 8, true);
  61.                 prot8.setItemMeta(im);
  62.         }
  63.         // -------------------------------------------------------------------------------------
  64.         public static ItemStack ub3 = new ItemStack(Material.BOOK, 1);{
  65.                 ItemMeta im = ub3.getItemMeta();
  66.                 im.setDisplayName("§7Unbreaking");
  67.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 3","§aKoszt: §c25 poziom doswiadczenia"));
  68.                 im.addEnchant(Enchantment.DURABILITY, 3, true);
  69.                 ub3.setItemMeta(im);
  70.         }
  71.        
  72.         public static ItemStack ub4 = new ItemStack(Material.BOOK, 1);{
  73.                 ItemMeta im = ub4.getItemMeta();
  74.                 im.setDisplayName("§7Unbreaking");
  75.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 4","§aKoszt: §c25 poziom doswiadczenia"));
  76.                 im.addEnchant(Enchantment.DURABILITY, 4, true);
  77.                 ub4.setItemMeta(im);
  78.         }
  79.        
  80.         public static ItemStack ub5 = new ItemStack(Material.BOOK, 1);{
  81.                 ItemMeta im = ub5.getItemMeta();
  82.                 im.setDisplayName("§7Unbreaking");
  83.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 5","§aKoszt: §c25 poziom doswiadczenia"));
  84.                 im.addEnchant(Enchantment.DURABILITY, 5, true);
  85.                 ub5.setItemMeta(im);
  86.         }
  87.        
  88.         public static ItemStack ub6 = new ItemStack(Material.BOOK, 1);{
  89.                 ItemMeta im = ub6.getItemMeta();
  90.                 im.setDisplayName("§7Unbreaking");
  91.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 6","§aKoszt: §c25 poziom doswiadczenia"));
  92.                 im.addEnchant(Enchantment.DURABILITY, 6, true);
  93.                 ub6.setItemMeta(im);
  94.         }
  95.        
  96.         public static ItemStack ub7 = new ItemStack(Material.BOOK, 1);{
  97.                 ItemMeta im = ub7.getItemMeta();
  98.                 im.setDisplayName("§7Unbreaking");
  99.                 im.setLore(Arrays.asList("§aEnchant: §cUnbreaking 7","§aKoszt: §c25 poziom doswiadczenia"));
  100.                 im.addEnchant(Enchantment.DURABILITY, 7, true);
  101.                 ub7.setItemMeta(im);
  102.         }
  103.         // -------------------------------------------------------------------------------------
  104.         public static ItemStack fl3 = new ItemStack(Material.BOOK, 1);{
  105.                 ItemMeta im = ub3.getItemMeta();
  106.                 im.setDisplayName("§7Feather falling");
  107.                 im.setLore(Arrays.asList("§aEnchant: §cFeather falling 3","§aKoszt: §c25 poziom doswiadczenia"));
  108.                 im.addEnchant(Enchantment.PROTECTION_FALL, 3, true);
  109.                 ub3.setItemMeta(im);
  110.         }
  111.        
  112.         public static ItemStack fl4 = new ItemStack(Material.BOOK, 1);{
  113.                 ItemMeta im = ub4.getItemMeta();
  114.                 im.setDisplayName("§7Feather falling");
  115.                 im.setLore(Arrays.asList("§aEnchant: §cFeather falling 4","§aKoszt: §c25 poziom doswiadczenia"));
  116.                 im.addEnchant(Enchantment.PROTECTION_FALL, 4, true);
  117.                 ub4.setItemMeta(im);
  118.         }
  119.        
  120.         public static ItemStack fl5 = new ItemStack(Material.BOOK, 1);{
  121.                 ItemMeta im = ub5.getItemMeta();
  122.                 im.setDisplayName("§7Feather falling");
  123.                 im.setLore(Arrays.asList("§aEnchant: §cFeather falling 5","§aKoszt: §c25 poziom doswiadczenia"));
  124.                 im.addEnchant(Enchantment.PROTECTION_FALL, 5, true);
  125.                 ub5.setItemMeta(im);
  126.         }
  127.        
  128.         // -------------------------------------------------------------------------------------
  129.         public static ItemStack sharp5 = new ItemStack(Material.BOOK, 1);{
  130.                 ItemMeta im = sharp5.getItemMeta();
  131.                 im.setDisplayName("§7Ostrosc");
  132.                 im.setLore(Arrays.asList("§aEnchant: §cOstrosc 5","§aKoszt: §c25 poziom doswiadczenia"));
  133.                 im.addEnchant(Enchantment.DAMAGE_ALL, 5, true);
  134.                 sharp5.setItemMeta(im);
  135.         }
  136.        
  137.         public static ItemStack sharp6 = new ItemStack(Material.BOOK, 1);{
  138.                 ItemMeta im = sharp6.getItemMeta();
  139.                 im.setDisplayName("§7Ostrosc");
  140.                 im.setLore(Arrays.asList("§aEnchant: §cOstrosc 6","§aKoszt: §c25 poziom doswiadczenia"));
  141.                 im.addEnchant(Enchantment.DAMAGE_ALL, 6, true);
  142.                 sharp6.setItemMeta(im);
  143.         }
  144.        
  145.         public static ItemStack sharp7 = new ItemStack(Material.BOOK, 1);{
  146.                 ItemMeta im = sharp7.getItemMeta();
  147.                 im.setDisplayName("§7Ostrosc");
  148.                 im.setLore(Arrays.asList("§aEnchant: §cOstrosc 7","§aKoszt: §c25 poziom doswiadczenia"));
  149.                 im.addEnchant(Enchantment.DAMAGE_ALL, 7, true);
  150.                 sharp7.setItemMeta(im);
  151.         }
  152.        
  153.         // -------------------------------------------------------------------------------------
  154.         public static ItemStack fireaspect2 = new ItemStack(Material.BOOK, 1);{
  155.                 ItemMeta im = fireaspect2.getItemMeta();
  156.                 im.setDisplayName("§7Fire aspect");
  157.                 im.setLore(Arrays.asList("§aEnchant: §cFire aspect 2","§aKoszt: §c25 poziom doswiadczenia"));
  158.                 im.addEnchant(Enchantment.FIRE_ASPECT, 2, true);
  159.                 fireaspect2.setItemMeta(im);
  160.         }
  161.        
  162.         public static ItemStack fireaspect3 = new ItemStack(Material.BOOK, 1);{
  163.                 ItemMeta im = fireaspect3.getItemMeta();
  164.                 im.setDisplayName("§7Fire aspect");
  165.                 im.setLore(Arrays.asList("§aEnchant: §cFire aspect 2","§aKoszt: §c25 poziom doswiadczenia"));
  166.                 im.addEnchant(Enchantment.FIRE_ASPECT, 3, true);
  167.                 fireaspect3.setItemMeta(im);
  168.         }
  169.        
  170.         // -------------------------------------------------------------------------------------
  171.         public static ItemStack knockback1 = new ItemStack(Material.BOOK, 1);{
  172.                 ItemMeta im = fireaspect2.getItemMeta();
  173.                 im.setDisplayName("§7Knockback");
  174.                 im.setLore(Arrays.asList("§aEnchant: §cKnockback 1","§aKoszt: §c25 poziom doswiadczenia"));
  175.                 im.addEnchant(Enchantment.KNOCKBACK, 1, true);
  176.                 fireaspect2.setItemMeta(im);
  177.         }
  178.        
  179.         public static ItemStack knockback2 = new ItemStack(Material.BOOK, 1);{
  180.                 ItemMeta im = knockback2.getItemMeta();
  181.                 im.setDisplayName("§7Knockback");
  182.                 im.setLore(Arrays.asList("§aEnchant: §cKnockback 2","§aKoszt: §c25 poziom doswiadczenia"));
  183.                 im.addEnchant(Enchantment.KNOCKBACK, 2, true);
  184.                 knockback2.setItemMeta(im);
  185.         }
  186.        
  187.         public static ItemStack knockback3 = new ItemStack(Material.BOOK, 1);{
  188.                 ItemMeta im = knockback3.getItemMeta();
  189.                 im.setDisplayName("§7Knockback");
  190.                 im.setLore(Arrays.asList("§aEnchant: §cKnockback 3","§aKoszt: §c25 poziom doswiadczenia"));
  191.                 im.addEnchant(Enchantment.KNOCKBACK, 3, true);
  192.                 knockback3.setItemMeta(im);
  193.         }
  194.         // -------------------------------------------------------------------------------------
  195.         public static ItemStack looting3 = new ItemStack(Material.BOOK, 1);{
  196.                 ItemMeta im = looting3.getItemMeta();
  197.                 im.setDisplayName("§7Looting");
  198.                 im.setLore(Arrays.asList("§aEnchant: §cLooting 3","§aKoszt: §c25 poziom doswiadczenia"));
  199.                 im.addEnchant(Enchantment.LOOT_BONUS_MOBS, 3, true);
  200.                 looting3.setItemMeta(im);
  201.         }
  202.        
  203.         public static ItemStack looting4 = new ItemStack(Material.BOOK, 1);{
  204.                 ItemMeta im = looting4.getItemMeta();
  205.                 im.setDisplayName("§7Looting");
  206.                 im.setLore(Arrays.asList("§aEnchant: §cLooting 4","§aKoszt: §c25 poziom doswiadczenia"));
  207.                 im.addEnchant(Enchantment.LOOT_BONUS_MOBS, 4, true);
  208.                 looting4.setItemMeta(im);
  209.         }
  210.         // -------------------------------------------------------------------------------------
  211.         public static ItemStack efficiency4 = new ItemStack(Material.BOOK, 1);{
  212.                 ItemMeta im = efficiency4.getItemMeta();
  213.                 im.setDisplayName("§7Efficiency");
  214.                 im.setLore(Arrays.asList("§aEnchant: §cEfficiency 4","§aKoszt: §c25 poziom doswiadczenia"));
  215.                 im.addEnchant(Enchantment.DIG_SPEED, 4, true);
  216.                 efficiency4.setItemMeta(im);
  217.         }
  218.        
  219.         public static ItemStack efficiency5 = new ItemStack(Material.BOOK, 1);{
  220.                 ItemMeta im = efficiency5.getItemMeta();
  221.                 im.setDisplayName("§7Efficiency");
  222.                 im.setLore(Arrays.asList("§aEnchant: §cEfficiency 5","§aKoszt: §c25 poziom doswiadczenia"));
  223.                 im.addEnchant(Enchantment.DIG_SPEED, 5, true);
  224.                 efficiency5.setItemMeta(im);
  225.         }
  226.        
  227.         public static ItemStack efficiency6 = new ItemStack(Material.BOOK, 1);{
  228.                 ItemMeta im = efficiency6.getItemMeta();
  229.                 im.setDisplayName("§7Efficiency");
  230.                 im.setLore(Arrays.asList("§aEnchant: §cEfficiency 6","§aKoszt: §c25 poziom doswiadczenia"));
  231.                 im.addEnchant(Enchantment.DIG_SPEED, 6, true);
  232.                 efficiency6.setItemMeta(im);
  233.         }
  234.         // -------------------------------------------------------------------------------------
  235.         public static ItemStack fortune1 = new ItemStack(Material.BOOK, 1);{
  236.                 ItemMeta im = fortune1.getItemMeta();
  237.                 im.setDisplayName("§7Fortune");
  238.                 im.setLore(Arrays.asList("§aEnchant: §cFortune 1","§aKoszt: §c25 poziom doswiadczenia"));
  239.                 im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 4, true);
  240.                 fortune1.setItemMeta(im);
  241.         }
  242.        
  243.         public static ItemStack fortune2 = new ItemStack(Material.BOOK, 1);{
  244.                 ItemMeta im = fortune2.getItemMeta();
  245.                 im.setDisplayName("§7Fortune");
  246.                 im.setLore(Arrays.asList("§aEnchant: §cFortune 2","§aKoszt: §c25 poziom doswiadczenia"));
  247.                 im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 2, true);
  248.                 fortune2.setItemMeta(im);
  249.         }
  250.        
  251.         public static ItemStack fortune3 = new ItemStack(Material.BOOK, 1);{
  252.                 ItemMeta im = fortune3.getItemMeta();
  253.                 im.setDisplayName("§7Fortune");
  254.                 im.setLore(Arrays.asList("§aEnchant: §cFortune 3","§aKoszt: §c25 poziom doswiadczenia"));
  255.                 im.addEnchant(Enchantment.LOOT_BONUS_BLOCKS, 3, true);
  256.                 fortune3.setItemMeta(im);
  257.         }
  258.        
  259.         // -------------------------------------------------------------------------------------
  260.         public static ItemStack power5 = new ItemStack(Material.BOOK, 1);{
  261.                 ItemMeta im = power5.getItemMeta();
  262.                 im.setDisplayName("§7Power");
  263.                 im.setLore(Arrays.asList("§aEnchant: §cPower 5","§aKoszt: §c25 poziom doswiadczenia"));
  264.                 im.addEnchant(Enchantment.ARROW_DAMAGE, 5, true);
  265.                 power5.setItemMeta(im);
  266.         }
  267.        
  268.         public static ItemStack power6 = new ItemStack(Material.BOOK, 1);{
  269.                 ItemMeta im = power6.getItemMeta();
  270.                 im.setDisplayName("§7Power");
  271.                 im.setLore(Arrays.asList("§aEnchant: §cPower 6","§aKoszt: §c25 poziom doswiadczenia"));
  272.                 im.addEnchant(Enchantment.ARROW_DAMAGE, 6, true);
  273.                 power6.setItemMeta(im);
  274.         }
  275.        
  276.         public static ItemStack power7 = new ItemStack(Material.BOOK, 1);{
  277.                 ItemMeta im = power7.getItemMeta();
  278.                 im.setDisplayName("§7Power");
  279.                 im.setLore(Arrays.asList("§aEnchant: §cPower 7","§aKoszt: §c25 poziom doswiadczenia"));
  280.                 im.addEnchant(Enchantment.ARROW_DAMAGE, 7, true);
  281.                 power7.setItemMeta(im);
  282.         }
  283.        
  284.         // -------------------------------------------------------------------------------------
  285.         public static ItemStack punch2 = new ItemStack(Material.BOOK, 1);{
  286.                 ItemMeta im = punch2.getItemMeta();
  287.                 im.setDisplayName("§7Punch");
  288.                 im.setLore(Arrays.asList("§aEnchant: §cPower 2","§aKoszt: §c25 poziom doswiadczenia"));
  289.                 im.addEnchant(Enchantment.ARROW_KNOCKBACK, 2, true);
  290.                 punch2.setItemMeta(im);
  291.         }
  292.        
  293.         public static ItemStack punch3 = new ItemStack(Material.BOOK, 1);{
  294.                 ItemMeta im = punch3.getItemMeta();
  295.                 im.setDisplayName("§7Punch");
  296.                 im.setLore(Arrays.asList("§aEnchant: §cPower 3","§aKoszt: §c25 poziom doswiadczenia"));
  297.                 im.addEnchant(Enchantment.ARROW_KNOCKBACK, 3, true);
  298.                 punch3.setItemMeta(im);
  299.         }
  300.        
  301.         public static ItemStack punch4 = new ItemStack(Material.BOOK, 1);{
  302.                 ItemMeta im = punch4.getItemMeta();
  303.                 im.setDisplayName("§7Punch");
  304.                 im.setLore(Arrays.asList("§aEnchant: §cPower 4","§aKoszt: §c25 poziom doswiadczenia"));
  305.                 im.addEnchant(Enchantment.ARROW_KNOCKBACK, 4, true);
  306.                 punch4.setItemMeta(im);
  307.         }
  308.        
  309.         // -------------------------------------------------------------------------------------
  310.         public static ItemStack flame1 = new ItemStack(Material.BOOK, 1);{
  311.                 ItemMeta im = flame1.getItemMeta();
  312.                 im.setDisplayName("§7Flame");
  313.                 im.setLore(Arrays.asList("§aEnchant: §cFlame 1","§aKoszt: §c25 poziom doswiadczenia"));
  314.                 im.addEnchant(Enchantment.ARROW_FIRE, 1, true);
  315.                 flame1.setItemMeta(im);
  316.         }
  317.        
  318.         public static ItemStack flame2 = new ItemStack(Material.BOOK, 1);{
  319.                 ItemMeta im = flame2.getItemMeta();
  320.                 im.setDisplayName("§7Flame");
  321.                 im.setLore(Arrays.asList("§aEnchant: §cFlame 2","§aKoszt: §c25 poziom doswiadczenia"));
  322.                 im.addEnchant(Enchantment.ARROW_FIRE, 2, true);
  323.                 flame2.setItemMeta(im);
  324.         }
  325.        
  326.         // -------------------------------------------------------------------------------------
  327.         public static ItemStack infinity1 = new ItemStack(Material.BOOK, 1);{
  328.                 ItemMeta im = infinity1.getItemMeta();
  329.                 im.setDisplayName("§7Infinity");
  330.                 im.setLore(Arrays.asList("§aEnchant: §cInfinity 1","§aKoszt: §c25 poziom doswiadczenia"));
  331.                 im.addEnchant(Enchantment.ARROW_INFINITE, 1, true);
  332.                 infinity1.setItemMeta(im);
  333.         }