ByCost(enchantments, cost) enchantmentsEnchantmentsTypecostIntProvider of intCost to use for the Enchanting process.
Helpers that build a minecraft:enchantment_provider object, one for each of its types. Where a field takes one, write the helper's call; its
name is the type it makes. Click a type to see what it accepts.
ByCost(enchantments, cost) enchantmentsEnchantmentsType costIntProvider of int Cost to use for the Enchanting process.
ByCostWithDifficulty(enchantments, min_cost, max_cost_span) enchantmentsEnchantmentsType min_costint 0.. Positive integer representing the minimum possible cost
max_cost_spanint 0.. Span of the cost randomization when the special factor is at its maximum.