Macelib is a library mod that allows developers to add custom enchantments for the mace added in 1.21. When used on it's own, this mod adds no content other than allowing the mace to be enchanted with durabilty and weapon enchantments.
To install Macelib for your mod, complete the following:
Add the repository to build.gradle
repositories {
maven { url 'https://jitpack.io' }
}
Add the dependency to build.gradle
dependencies {
implementation "com.github.ConsularAtol:macelib:*VERSION*"
}
Unsure what version to use? Check here
For more information on using Macelib for development, please visit the wiki.