addUnsafeEnchantments

public void addUnsafeEnchantments(Map<Enchantment, Integer> enchantments)

Adds the specified enchantments to this item stack in an unsafe manner.

This method is the same as calling addUnsafeEnchantment for each element of the map.

Parameters

enchantments

Enchantments to add