SimpleEnchantment

data class SimpleEnchantment(val enchantment: Enchantment, val level: Int = 1)

Represents an enchantment

Parameters

enchantment

the enchantment

level

the level of the enchantment

Constructors

Link copied to clipboard
fun SimpleEnchantment(enchantment: Enchantment, level: Int = 1)

Properties

Link copied to clipboard
val enchantment: Enchantment
Link copied to clipboard
val level: Int = 1