Curse Forge
When using an anvil in Minecraft, there is a chance to obtain a cursed enchantment that will be displayed in red color.
All mod parameters can be configured through the configuration file:
D:curseForgeChance - Base chance of getting a curse
B:onlyEnchant - Determines whether the curse will be applied only during enchanting, or also during repair and renaming
B:addChance - Whether to add a chance for each item with each use (regardless of successful curse application)
D:extraChance - Additional probability with each use