HomeJavaModsEnchantment Groups
Enchantment Groups
ModsJava

Enchantment Groups

by DaFuqs · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.1–1.20.2 · Fabric⬇ Download for 1.20 · Fabric⬇ Download for 1.19.3 · Fabric⬇ Download for 1.19–1.19.2 · Fabric⬇ Download for 1.18.2 · Fabric⬇ Download for 1.18.1 · Fabric⬇ Download for 1.20.1–1.20.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Easy to set up Enchantment Exclusivity using Groups

Why Enchantment Groups

In big modpacks, a lot of mods come with their own enchantments. While mods declare Enchantments mutually exclusivity between their own Enchantments, most often all Enchantments from different mods can be combined, despite from a logical standpoint should not be used together on the same tool or armor piece.

That brings up a list of issues:

Enchantment Groups Solution

Enchantment Groups tries to resolve that problem immersively and vanilla-like. Using Enchantment Groups:

Players never have to resolve enchantment conflicts manually. No commands, no additional items, no screen cluttering tooltips Easy to set up and maintain for modpack makers

Config

The config format is as easy as can be. Via json, you are able to create groups of enchantments. All enchantments in that group are considered mutually exclusive to one another.

Each group is identified by a name. This name serves no function in itself, but is there for modpack makers to give a descriptive name to make the 'why' understandable.

Note: Existing enchantment exclusivity, like defined in vanilla or by other mods is not modified, allowing vanilla and mods to do their thing. Don't ask for it.

Config Example

If you were to define enchantment exclusivity like it exists in vanilla, it would look somewhat like this.

{ "protection": [ "minecraft:protection", "minecraft:blast_protection", "minecraft:fire_protection", "minecraft:projectile_protection" ], "melee_damage": [ "minecraft:bane_of_arthropods", "minecraft:smite", "minecraft:sharpness" ], "mining": [ "minecraft:fortune", "minecraft:silk_touch" ], "bow": [ "minecraft:infinity", "minecraft:mending" ], "trident1": [ "minecraft:loyalty", "minecraft:riptide" ], "trident2": [ "minecraft:channeling", "minecraft:riptide" ], "crossbow": [ "minecraft:multishot", "minecraft:piercing" ] }

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more