SHARE
TWEET

Untitled

Knager312 Apr 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ItemStack ISword = new ItemStack(Material.IRON_SWORD, 1);
  2.        
  3.         ISword.addUnsafeEnchantment(Enchantment.DAMAGE_UNDEAD, 2);     
  4.         ISword.addUnsafeEnchantment(Enchantment.DAMAGE_ARTHROPODS, 2); 
  5.         ItemMeta ISwordmeta = ISword.getItemMeta();
  6.         ISwordmeta.setDisplayName(ChatColor.translateAlternateColorCodes('&', ""));
  7.         ISword.setItemMeta(ISwordmeta);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top