
Contents
Introduction
Requirements
Tutorial
-Selecting a Target
-Loading your File
-Enchanting a Normal Item
-Adding Enchantments
-Modifying an Existing Enchantment
Support this Tutorial
Credits
Hi there!
Enchantment is a new and exciting feature, but it's also one that takes a lot of time to fully access. If you want to experiment with effects or build a challenge course, you just don't have the time to gain hundreds of levels, and even then, you may have to try several times to get the enchantment you wanted! That's where this tutorial comes in. It uses a program called NBTedit (created by copyboy) to give you full control over your enchanting, without having to level grind. Enjoy!
Requirements
You will need:
-A Minecraft level.dat file. (If you have a single player world, you have one of these.)
-NBTedit. (Click Here)
-The ability to follow simple instructions.
That's all there is to it!
Tutorial
Selecting a Target
First, you need to decide what you want to enchant. It's easiest if you place the target item in slot zero (Figure 1.1). For this tutorial, the target will be a diamond sword. Now, save and exit Minecraft.
Figure 1.1

Loading your File
Now that you've chosen your target, you're ready to begin. Run NBTedit, and click "Open". Navigate to the world that contains your target item (e.g., "C:\Users\YourName\AppData\Roaming\.minecraft\saves\Your World"), and open the file called "level.dat" (Figure 2.1). A directory will appear in NBTedit. Navigate through it to Data->Player->Inventory. If you placed your target item in slot zero, it will be the first entry under "Inventory" (Figure 2.2).
Figure 2.1

Figure 2.2

Enchanting a Normal Item
Note: If your item already has at least one enchantment, click here.
It's time to turn your plain old item into an enchanted item! First, add a new Compound (Ctrl+0) to your item, and name it "tag" (Figure 3.1). Now add a new List of type Compound (Figure 3.2) to the "tag" Compound you've just created, and name it "ench" (Figure 3.3). Congratulations! You're ready to add enchantments!
Figure 3.1

Figure 3.2

Figure 3.3

Adding Enchantments
Note: Repeat this step for each enchantment you want to add.
Alright, it's time to give your target item a boost! Add a new Compound (Ctrl+0) to your List labeled "ench" (Figure 4.1). This will be your new enchantment. Add two Shorts to the Compound, and name them "id" and "lvl" (Figure 4.2). This enchantment won't do anything... yet. Continue on to the final step!
Figure 4.1

Figure 4.2

Modifying an Existing Enchantment
Note: Repeat this step for each enchantment you want to modify.
First, choose the enchantment you wish to modify. Each one will be a Compound in your "ench" List. Double-click the Short labeled "id" to edit its value. The value of "id" corresponds with the enchantment type. Click here for a full table of enchantment types and IDs. Enter the ID of the enchantment you want, and press enter (Figure 5.1). Now, double-click the Short labeled "lvl" to edit it. This is the level of the enchantment. You can use the table to find information about the maximum level of each enchantment, and what effect it has at each level. Enter the level you want the enchantment to be, and you're done! Remember to save your level.dat file (Ctrl+S).
Figure 5.1

Finished Product

Support this Tutorial

[url="http://www.minecraftforum.net/topic/834177-enchanting-nbtedit-custom-enchantments-11211/"][img]http://mag.racked.eu/cimage/5583dde/Achievement+get%21/Custom+enchantments%21/mca.png[/img][/url]
Credits
-Slayde7; Tutorial Author, Screenshots
-copyboy; Creator of NBTedit
-Mojang Team; Creators of Minecraft











