how to add enchant to the mob equipment plugin code example
Example: how to add enchantments to mobs plugin
zombie.getEquipment().setItemInHand(new ItemStack(Material.STICK, 1).addEnchantment(Enchantment.DAMAGE_ALL, 5));
zombie.getEquipment().setItemInHand(new ItemStack(Material.STICK, 1).addEnchantment(Enchantment.DAMAGE_ALL, 5));