A simple mixin mod that patches Minecraft's enchant method to allow up to around a billion (1073741824) (Configurable)
/enchant support?
Use /oldench enchant
instead, this is due to incompatibility with apotheosis enchantments addon using coremod to patch /enchant
level checks
Note
This is not fully tested as there are currently no good way to test, but from I've done using fortune and resistant, the enchant levels does apply.
DO NOT LOWER MAX LEVEL CONFIG IF AN ITEM EXISTS WITH A HIGHER LEVEL OR YOU WILL CRASH. (i will not be implementing a check, i'm not even sure if it's possible without doing some more patch)