Enchantment Level
data class EnchantmentLevel(val level: Int, val conditions: List<EnchantmentCondition>, val chance: Double, val cooldown: Time, val actions: List<EnchantmentAction>) : Describable<EnchantmentLevel>
This class represents an enchantment level.
At no point should you need to construct this class, as it is only created internally by UnderscoreEnchants to create enchantments.
Constructors
Link copied to clipboard
constructor(level: Int, conditions: List<EnchantmentCondition>, chance: Double, cooldown: Time, actions: List<EnchantmentAction>)