Advertisement
Guest User

Untitled

a guest
Aug 31st, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.18 KB | None | 0 0
  1. ItemStack chestplatelvl1 = setName(new ItemStack(Material.CHAINMAIL_CHESTPLATE),ChatColor.YELLOW + "Chestplate" + ChatColor.GRAY +" LVL 1");
  2. chestplatelvl1.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 1);
  3. chestplatelvl1.addUnsafeEnchantment(Enchantment.ARROW_INFINITE, 1);
  4.  
  5. ItemStack chestplatelvl2 = setName(new ItemStack(Material.CHAINMAIL_CHESTPLATE),ChatColor.YELLOW + "Chestplate" + ChatColor.GRAY +" LVL 2");
  6. chestplatelvl2.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
  7. chestplatelvl2.addUnsafeEnchantment(Enchantment.ARROW_INFINITE, 1);
  8.  
  9. ItemStack chestplatelvl3 = setName(new ItemStack(Material.CHAINMAIL_CHESTPLATE),ChatColor.YELLOW + "Chestplate" + ChatColor.GRAY +" LVL 3");
  10. chestplatelvl3.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 3);
  11. chestplatelvl3.addUnsafeEnchantment(Enchantment.ARROW_INFINITE, 1);
  12.  
  13. this.villager_armor_orange = new VillagerTradeOffer[]{
  14.  
  15. new VillagerTradeOffer(kupfer1,helmet_orange),
  16. new VillagerTradeOffer(kupfer1,leggings_orange),
  17. new VillagerTradeOffer(kupfer1,boots_orange),
  18. new VillagerTradeOffer(eisen1,chestplatelvl1),
  19. new VillagerTradeOffer(eisen3,chestplatelvl2),
  20. new VillagerTradeOffer(eisen7,chestplatelvl3)
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement