Advertisement
maxthelinkfan

Untitled

Jul 28th, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. ItemStack sword = new ItemStack(MATERIAL.DIAMOND_SWORD);
  2. sword.addEnchantement(ENCHANTMENT.DAMAGE_ALL, 1);
  3. player.getInventory().addItem(sword);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement