tableLevelRequirement

fun tableLevelRequirement(tableLeveRequirement: IntRange)

Configures the level range where the enchantment can appear in an enchanting table slot.


fun tableLevelRequirement(tableLeveRequirement: (level: Int) -> IntRange)

Configures the level range where the enchantment can appear in an enchanting table slot, based on the enchantment level.