Adds a tag that you can use to disable Enchantments from the game.
  • Java 96.6%
  • Kotlin 3.4%
Find a file
Anastasia Chrysanthemum dc94060b95
All checks were successful
Build / build (push) Successful in 1m35s
chore: Remove redundant entry in .gitignore.
2026-03-18 02:34:31 +11:00
.forgejo/workflows chore: Swap release.yml to JDK 25. 2026-03-17 11:35:19 +11:00
build_logic build: Use friendly Minecraft version string within FMJ and NMT. 2026-03-18 02:34:09 +11:00
fabric chore: Pre-prepared port to 26.1. 2026-03-17 10:48:49 +11:00
gradle chore: Pre-prepared port to 26.1. 2026-03-17 10:48:49 +11:00
neoforge chore: Pre-prepared port to 26.1. 2026-03-17 10:48:49 +11:00
xplat chore: Pre-prepared port to 26.1. 2026-03-17 10:48:49 +11:00
.gitattributes Initial commit 2024-05-04 02:18:23 +10:00
.gitignore chore: Remove redundant entry in .gitignore. 2026-03-18 02:34:31 +11:00
build.gradle.kts feat: Total rewrite, 2.0.0. 2025-11-10 21:54:47 +11:00
CHANGELOG.md chore: Pre-prepared port to 26.1. 2026-03-17 10:48:49 +11:00
gradle.properties Gradle changes ready for 1.1.1 2024-10-13 21:15:27 +11:00
gradlew Initial commit 2024-05-04 02:18:23 +10:00
gradlew.bat Initial commit 2024-05-04 02:18:23 +10:00
LICENSE Update LICENSE 2024-05-04 07:27:27 +10:00
README.md chore: Pre-prepared port to 26.1. 2026-03-17 10:48:49 +11:00
settings.gradle.kts refactor: Forgejo-ify build script. 2026-03-17 10:16:36 +11:00

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.