Back to mods
Weapon Enchantment Compat project artwork

CurseForge · Minecraft mod

Weapon Enchantment Compat

Adds datapack-driven weapon compatibility for Farmer's Delight Backstabbing and vanilla Looting.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Weapon Enchantment Compat release should I use?

Updated last month
Latest stable file weapon-enchantment-compat-1.0.2.jar
Game version 1.20.1
Loader Fabric

Weapon Enchantment Compat weapon-enchantment-compat-1.0.2.jar targets 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Weapon Enchantment Compat required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Weapon Enchantment Compat weapon-enchantment-compat-1.0.2.jar need?

weapon-enchantment-compat-1.0.2.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Weapon Enchantment Compat without breaking your instance.

Built for Weapon Enchantment Compat weapon-enchantment-compat-1.0.2.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use weapon-enchantment-compat-1.0.2.jar. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside weapon-enchantment-compat-1.0.2.jar. It opens that exact file at the source.

About this project

What does Weapon Enchantment Compat add?

Weapon Enchantment Compat

Weapon Enchantment Compat is a small, data-driven Fabric compatibility mod for Minecraft 1.20.1. It lets datapacks decide which modded weapons may use two enchantments that normally reject those weapon types:

  • Backstabbing from Farmer's Delight Refabricated,
  • Vanilla Looting.

No third-party weapons are enabled by default!

The mod deliberately ships its compatibility tags with no item entries. Installing the JAR by itself does not whitelist weapons from RPG Series, Soulslike Weaponry, Death Knights, or any other content mod.

Instead, modpack authors can populate normal Minecraft item tags through a datapack via the tags:

  • #backstabbing_dagger_compat:daggers - additional weapons allowed to receive Farmer's Delight Backstabbing,
  • #weapon_enchantment_compat:looting_weapons - additional weapons allowed to receive vanilla Looting.

What it changes:

Weapon Enchantment Compat only extends enchantment applicability for items placed in those tags. It does not globally convert weapons into knives, swords, or axes.

For Looting, the mod extends the normal enchantment applicability check and includes an anvil-specific compatibility fallback so tagged weapons remain enchantable in modpacks with other anvil/enchantment mixins.

What it does not change:

The mod does not alter:

  • Enchantment levels,
  • Enchantment effects or damage calculations,
  • Anvil XP costs,
  • Enchantment conflicts or incompatibilities,
  • Existing vanilla or modded weapons that already accept the enchantment,
  • Third-party weapons unless a datapack explicitly adds them,
  • Entity AI, combat ticks, world generation, or recurring server logic.

There are no tick handlers, entity scans, or recurring runtime tasks.

Datapack setup:

For Minecraft Fabric 1.20.1, create a datapack using pack format 15, and the following structure:

My Weapon Compat/
├── pack.mcmeta
└── data/
    ├── backstabbing_dagger_compat/
    │   └── tags/
    │       └── items/
    │           └── daggers.json
    └── weapon_enchantment_compat/
        └── tags/
            └── items/
                └── looting_weapons.json

Example pack.mcmeta:

{
  "pack": {
    "pack_format": 15,
    "description": "My Weapon Enchantment Compat"
  }
}

Backstabbing example

data/backstabbing_dagger_compat/tags/items/daggers.json

{
  "replace": false,
  "values": [
    "examplemod:steel_dagger",
    "#examplemod:daggers"
  ]
}

Looting example

data/weapon_enchantment_compat/tags/items/looting_weapons.json

{
  "replace": false,
  "values": [
    "examplemod:great_axe",
    "#examplemod:heavy_weapons"
  ]
}

Keep "replace": false so multiple datapacks can contribute compatible items at the same time.

Requirements

  • Minecraft 1.20.1
  • Fabric Loader 0.15.0+
  • Java 17+
  • Farmer's Delight Refabricated (for use with the backstabbing enchant)

For modpack authors

The base JAR is intended to stay neutral and reusable. Put the weapon IDs and existing item tags for your own pack in a separate datapack, allowing compatibility lists to be changed without rebuilding and updating the mod.

This mod was primarily made for the Path of the Ascended Modpack, and as such may not worth with other setups and modpacks. I take no responsility for, and will not fix bugs caused by other implementations or used of this mod outside of the Path of the Ascended modpack.

AI-Assisted Development Disclosure: This mod was written with the assistance of AI. All code has been reviewed, tested, and refined by a human developer to ensure functionality, compatibility, and performance.

Project description from CurseForge.

Pick your setup

Weapon Enchantment Compat by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Weapon Enchantment Compat versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.