Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ItemStack sword = new ItemStack(MATERIAL.DIAMOND_SWORD);
- sword.addEnchantement(ENCHANTMENT.DAMAGE_ALL, 1);
- player.getInventory().addItem(sword);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement