Enchantment

Enchantment is a modifier that adds special abilities to items when applied.

NeoForge 26.1.2NeoForge 1.21.1Data pack 26.1Data pack 1.21.1

Step-by-step guide: how to make enchantment →

Fields you fill in

Enchantment anvil cost

This parameter defines the cost it takes in the anvil.

Parameter is multiplied by the level of the enchantment.

This parameter only works in Minecraft versions 1.20.6 and above.

Is this enchantment curse

Enchantments with this property are bad (their name is red).

Curse enchantments cannot be removed from the items.

Damage reduction modifier

This value will be multiplied with the level of the enchantment (that the item has currently)

to get the number of damage your enchantment will protect.

For example, PROTECTION has a value of 1, so for the first level, the enchantment will

protect the player of 1 damage as 1 (level) * 1 (your value) = 1.

Generate in loot tables

Check this option if you want your enchantment to be able to generate in loot tables.

Enchantments this enchantment can''t coexist with on the same item

This parameter defines the enchantments that are incompatible with this enchantment.

If the item has any of these enchantments, this enchantment can not be applied to it.

If the item has this enchantment, the incompatible enchantments can not be applied to it either.

Can be specified as a list of items or as a single tag. Tag will only work correctly

on Minecraft 1.21 and newer versions.

Max enchantment level

The maximal level your enchantment supports.

Enchantment name

The name of the enchantment as used in-game.

Items that can be enchanted with this enchantment

Specify the items that can receive the enchantment.

Items specified here will be able to receive the enchantment in the enchanting table or

by other means of enchanting.

Can be specified as a list of items or as a single tag.

Supported slots

This parameter defines slot types that match with this enchantment type.

Is this enchantment treasure enchantment

A treasure enchantment cannot be obtained in the enchanting table.

It can only be found in loot tables such as MENDING or more recently, SOUL SPEED.

Villager trade

Check this option if you want your enchantment to be sold as a villager trade.

Enchantment weight

This parameter defines how common the enchantment is. Smaller value makes the enchantment appear less commonly.

Common enchantments usually have a weight of 10, less common 5, rare 2 and very rare 1.