EnchantmentPack

@Since(version = "2.2")
data class EnchantmentPack(val metadata: EnchantmentPackMetadata, val enchantments: List<RegistrableEnchantment>) : Describable<EnchantmentPack>

This class represents an enchantment pack.

An enchantment pack is a collection of enchantments that are grouped together.

At no point should you need to construct this class, as it is only created internally by UnderscoreEnchants.

Constructors

Link copied to clipboard
constructor(metadata: EnchantmentPackMetadata, enchantments: List<RegistrableEnchantment>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun getDescriber(): Describer<EnchantmentPack>

Gets the describer for the object.