Advertisement
Guest User

Untitled

a guest
Sep 14th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. ItemStack s = new ItemStack(Material.STONE_SWORD);
  2. ItemMeta sm = s.getItemMeta();
  3. sm.setDisplayName("§5Schwert");
  4. sm.addEnchant(Enchantment.DURABILITY, 1, true);
  5. s.setItemMeta(sm);
  6.  
  7. ItemStack a = new ItemStack(Material.FISHING_ROD);
  8. ItemMeta am = a.getItemMeta();
  9. am.setDisplayName("§5Angel");
  10. am.addEnchant(Enchantment.DURABILITY, 1, true);
  11. a.setItemMeta(am);
  12.  
  13. ItemStack ls = new ItemStack(Material.LEATHER_BOOTS);
  14. ItemMeta lsm = ls.getItemMeta();
  15. lsm.setDisplayName("§5Schuhe");
  16. lsm.addEnchant(Enchantment.DURABILITY, 1, true);
  17. ls.setItemMeta(lsm);
  18.  
  19. ItemStack lh = new ItemStack(Material.LEATHER_LEGGINGS);
  20. ItemMeta lhm = lh.getItemMeta();
  21. lhm.setDisplayName("§5Hose");
  22. lhm.addEnchant(Enchantment.DURABILITY, 1, true);
  23. lh.setItemMeta(lhm);
  24.  
  25. ItemStack lb = new ItemStack(Material.LEATHER_CHESTPLATE);
  26. ItemMeta lbm = lb.getItemMeta();
  27. lbm.setDisplayName("§5Brustplatte");
  28. lbm.addEnchant(Enchantment.DURABILITY, 1, true);
  29. lb.setItemMeta(lbm);
  30.  
  31. ItemStack lhe = new ItemStack(Material.LEATHER_HELMET);
  32. ItemMeta lhem = lhe.getItemMeta();
  33. lhem.setDisplayName("§5Helm");
  34. lhem.addEnchant(Enchantment.DURABILITY, 1, true);
  35. lhe.setItemMeta(lhem);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement