CurseForge · Minecraft mod
Default Enchantments
Configure default enchantments which are applied when items are crafted!
Quick answer
Which Default Enchantments release should I use?
Default Enchantments defaultenchantments-1.12.2-1.3.0.jar targets 1.12.2 with Forge. 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 Default Enchantments required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Default Enchantments defaultenchantments-1.12.2-1.3.0.jar need?
defaultenchantments-1.12.2-1.3.0.jar. Change the file and its required mods may change too.
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 Default Enchantments without breaking your instance.
Built for Default Enchantments defaultenchantments-1.12.2-1.3.0.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use defaultenchantments-1.12.2-1.3.0.jar. It targets 1.12.2 with Forge; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside defaultenchantments-1.12.2-1.3.0.jar. It opens that exact file at the source.
About this project
What does Default Enchantments add?
This is a simple mod which can be configured using a JSON file to set any enchantments to any item which will be applied when it is crafted or smelted.
In the configs, you'll find the "defaultEnchantments.json" file in the mod's config directory. You can easily configure this like the following example which sets Knockback 4 and Fire Aspect 1 to Sticks and Bone Meal:
[ { "items": [ { "registryName": "minecraft:stick" }, { "registryName": "minecraft:dye", "metadata": 15 } ], "enchantments": [ { "registryName": "minecraft:knockback", "strength": 4 }, { "registryName": "minecraft:fire_aspect", "strength": 1 } ] }]
You can also specify item or block classes so that all items or blocks that are the same, or subclasses of the specified class will have the enchantments. For example, this will cause all pickaxes to have the Looting 1 enchantment:
[ { "items": [ { "className": "net.minecraft.item.ItemPickaxe" } ], "enchantments": [ { "registryName": "minecraft:looting", "strength": 10 } ] }]
You can combine the last example with a blacklist configuration so that certain items will not have any enchantments defined above in the file. This involves simply defining items with no enchantments. The following example extends on the last so that all but Wooden Pickaxes have the Looting 1 enchantment:
[ { "items": [ { "className": "net.minecraft.item.ItemPickaxe" } ], "enchantments": [ { "registryName": "minecraft:looting", "strength": 10 } ] }, { "items": [ { "registryName": "minecraft:wooden_pickaxe" } ] }]
The above examples makes use of everything you can do in the JSON configuration file, and is pretty straight-forward.
You can find the registry name and metadata of any item in-game by enabling the advanced tooltips (F3 + H) and looking at the tooltip when hovering over the item in a GUI.
For the enchantment "registryName", you can find all of them listed on the Minecraft Wiki here. For modded enchantments, you may need to look at the mod's source code or ask mod authors.
NOTE: This may not be compatible with all mod crafting mechanics.
Project description from CurseForge.
Pick your setup
Default Enchantments by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Default Enchantments versions and loaders
defaultenchantments-1.12.2-1.3.0.jar
24 May 2021
defaultenchantments-1.12.2-1.2.0.jar
25 Aug 2018
defaultenchantments-1.12.2-1.1.0.jar
8 Aug 2018
defaultenchantments-1.12.2-1.0.0.jar
6 Aug 2018
Looking for an older file? The official CurseForge project page is in Resources.