BetaBetaAttempts to add the enchantment to this collection. Returns true if successful.
This function can't be called in read-only mode.
BetaReturns whether or not the provided EnchantmentInstance can be added to this collection.
This function can't be called in read-only mode.
BetaReturns an enchantment associated with a type.
This function can't be called in read-only mode.
BetaRemoves an EnchantmentInstance with type from this collection if present.
This function can't be called in read-only mode.
This class represents a collection of enchantments that can be applied to an item.