
When the player uses an anvil, there is a chance to get a curse (red-name enchantment).
Both can be adjusted in the configuration file:
D:curseForgeChance The basic chance of getting a curse
B:onlyEnchant Whether to try to give an enchantment only when enchanting, otherwise it also works for repair and rename
B:addChance Whether to add a chance to a single item each time it is added (regardless of whether the curse is successfully added)
D:extraChance The extra chance each time it is added