- Java 96.6%
- Kotlin 3.4%
|
All checks were successful
Build / build (push) Successful in 1m35s
|
||
|---|---|---|
| .forgejo/workflows | ||
| build_logic | ||
| fabric | ||
| gradle | ||
| neoforge | ||
| xplat | ||
| .gitattributes | ||
| .gitignore | ||
| build.gradle.kts | ||
| CHANGELOG.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| settings.gradle.kts | ||
Enchantment Disable Tag
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.
Client or Server?
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.
Will this mod delete the enchantments on my item?
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.
Depending via Maven
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.x
License
This 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.