enchant
Adds an enchantment to the item.
Return
The ItemBuilder instance for method chaining.
Parameters
enchantment
The enchantment to add.
level
The level of the enchantment.
ignore Limit
Whether to ignore the enchantment's level limit.
Adds an enchantment to the item.
The ItemBuilder instance for method chaining.
The enchantment to add.
The level of the enchantment.
Whether to ignore the enchantment's level limit.