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).
With the new cheat mod it is much easy to get the enchantments
I was unaware of a mod that does this. The advantage to using NBTedit, however, is that this tutorial will still work after Minecraft updates. :wink.gif:
You should add a link to the minecraft wiki here: http://www.minecraftwiki.net/wiki/Enchanting#Enchantment_Types
the table shows the EID of the enchantments, which is the 'id' value.
I accidentally made a table of this myself before realising that it was on the minecraft wiki. Oh well. :tongue.gif:
You should add a link to the minecraft wiki here: http://www.minecraftwiki.net/wiki/Enchanting#Enchantment_Types
the table shows the EID of the enchantments, which is the 'id' value.
I accidentally made a table of this myself before realising that it was on the minecraft wiki. Oh well. :tongue.gif:
It's already in the tutorial, under "Modifying an Existing Enchantment."
Quick question, I followed the tutorial, very well done BTW, and saved changes (ctrl+S). I then reopened the program, verified the changes were made, but when I open the minecraft game itself, there are no changes to the item I was trying to modify. Slot 0 item 276 with ENCH 16 lvl 1, tried to change it to lvl 5, and edit damage from 237 to 0. Basically upping the level and repairing use damage to the blade.
I've tried several times, including NBTEdit as administrator, but no change. Is there something I'm missing? I had no problems adding the sword to begin with using INVEdit, this all seems pretty straightforward.
EDIT: Just realized I was modifying the level.dat_old NOT the level file. *facepalm* Well thanks for the great program!
Rollback Post to RevisionRollBack
If life were meant to be fair we would never be thirsty, and have to pee at the same time.
Quick question, I followed the tutorial, very well done BTW, and saved changes (ctrl+S). I then reopened the program, verified the changes were made, but when I open the minecraft game itself, there are no changes to the item I was trying to modify. Slot 0 item 276 with ENCH 16 lvl 1, tried to change it to lvl 5, and edit damage from 237 to 0. Basically upping the level and repairing use damage to the blade.
I've tried several times, including NBTEdit as administrator, but no change. Is there something I'm missing? I had no problems adding the sword to begin with using INVEdit, this all seems pretty straightforward.
EDIT: Just realized I was modifying the level.dat_old NOT the level file. *facepalm* Well thanks for the great program!
Haha you had me confused for a second, too! You're welcome!
Hi, I'm completely new to NBTedit and really any kind of modding at all, so I may be missing something too basic to have been covered in your tutorial. I made it to the Adding Enchantments step with little difficulty, but now when I add these shorts, it doesn't look like what you have. instead of just id:0 and lvl:0 I have, "id:0 entries of type TagShort" and I never see the edit value menu when I double click, it just lets me change that it's called "id". Was just wondering if you had any idea what I did wrong.
hey um can u help me?
when i used 34 for id and 74 for lvl and then log into the game wif my diamond pick and mined, the game crashes.
no matter what i mine it crashes. Reply asap pls!
Hi, I'm completely new to NBTedit and really any kind of modding at all, so I may be missing something too basic to have been covered in your tutorial. I made it to the Adding Enchantments step with little difficulty, but now when I add these shorts, it doesn't look like what you have. instead of just id:0 and lvl:0 I have, "id:0 entries of type TagShort" and I never see the edit value menu when I double click, it just lets me change that it's called "id". Was just wondering if you had any idea what I did wrong.
Thanks.
It sounds like you added a list of type Short, rather than a Short. The dropdown is for lists; try clicking the button with the little red circle instead.
hey um can u help me?
when i used 34 for id and 74 for lvl and then log into the game wif my diamond pick and mined, the game crashes.
no matter what i mine it crashes. Reply asap pls!
It sounds like you added a list of type Short, rather than a Short. The dropdown is for lists; try clicking the button with the little red circle instead.
Thank you very much that was precisely it, awesome tutorial too by the way, really saved my butt when my computer lagged and I placed down my Zistonian Battle Sign in the Super Hostile Map I'm doing.
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
Credits
-Slayde7; Tutorial Author, Screenshots
-copyboy; Creator of NBTedit
-Mojang Team; Creators of Minecraft
I was unaware of a mod that does this. The advantage to using NBTedit, however, is that this tutorial will still work after Minecraft updates. :wink.gif:
what cheat mod??? TMI?
I haven't been able to find whatever he's talking about. However, Single Player Commands is now 1.0.0, and supports custom enchantments as well.
You're welcome, of course! I'm glad you found it helpful! :laugh.gif:
Thanks! It's good to know that people are finding it easy enough to understand.
I appreciate the feedback!
Awesome! :laugh.gif:
That's one of the major reasons I use this method! Happy to help.
the table shows the EID of the enchantments, which is the 'id' value.
I accidentally made a table of this myself before realising that it was on the minecraft wiki. Oh well. :tongue.gif:
It's already in the tutorial, under "Modifying an Existing Enchantment."
I've tried several times, including NBTEdit as administrator, but no change. Is there something I'm missing? I had no problems adding the sword to begin with using INVEdit, this all seems pretty straightforward.
EDIT: Just realized I was modifying the level.dat_old NOT the level file. *facepalm* Well thanks for the great program!
Haha you had me confused for a second, too! You're welcome!
Thanks.
when i used 34 for id and 74 for lvl and then log into the game wif my diamond pick and mined, the game crashes.
no matter what i mine it crashes. Reply asap pls!
Edit: iwas using the float instead of short. LOL
It sounds like you added a list of type Short, rather than a Short. The dropdown is for lists; try clicking the button with the little red circle instead.
Haha, that could definitely do it. :wink.gif:
Just repeat the section on Adding Enchantments for each one you want to add!
Thank you very much that was precisely it, awesome tutorial too by the way, really saved my butt when my computer lagged and I placed down my Zistonian Battle Sign in the Super Hostile Map I'm doing.