This mod provides a tag that you can use to disable enchantments from appearing in your worlds.
This tag can be found at data/enchantmentdisabletag/tags/enchantment/disabled.json and can be referenced as enchantmentdisabletag:disabled.
Please refer to the Wiki for a guide on basic usage.
This mod can operate on the server alone, however, it may be ideal to have it on the client too for a more concrete experience for content such as:
- The Creative Menu will not show disabled enchantments.
- Lang files for the /enchant command disabled error.
Yes, it will. So back up your worlds before disabling an enchantment, and to compensate players who may have grinded for a specific enchantment if you want.
Enchantment Disable Tag is available via the Greenhouse Maven
The below is for Groovy DSL, you will need to adjust this for Kotlin DSL.
repositories {
maven {
name = "Greenhouse Maven"
url = "https://maven.greenhouse.lgbt/releases"
}
}
dependencies {
// Depend on the Xplat build.
compileOnly("lgbt.greenhouse.enchantmentdisabletag:enchantmentdisabletag-xplat:${enchantment_disable_tag_version}")
// Depend on the Fabric build, for Loom.
implementation("lgbt.greenhouse.enchantmentdisabletag:enchantmentdisabletag-fabric:${enchantment_disable_tag_version}")
// Depend on the NeoForge build, for ModDevGradle.
implementation("lgbt.greenhouse.enchantmentdisabletag:enchantmentdisabletag-neoforge:${enchantment_disable_tag_version}")
}enchantment_disable_tag_version = 2.0.0+26.1.xThis mod is provided under the CC0-1.0 license. This isn't really a concept that should be owned by me, so I've chosen to make this mod public domain.