Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[Enchanting] [NBTedit] Custom Enchantments! [1/12/11]


  • Please log in to reply
61 replies to this topic

#1

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 01 December 2011 - 10:37 PM

Custom Enchantments!

Posted Image


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
Posted Image


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
Posted Image

Figure 2.2
Posted Image


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
Posted Image

Figure 3.2
Posted Image

Figure 3.3
Posted Image


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
Posted Image

Figure 4.2
Posted Image


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
Posted Image

Finished Product
Posted Image


Support this Tutorial
Posted Image
[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

Posted Image


Register or log in to remove.

#2

kmarkopl
    kmarkopl

    Obsidian Miner

  • Curse Premium
  • Curse Premium
  • 1212 posts

Posted 01 December 2011 - 10:41 PM

Nice tutorial but there is simple way

With the new cheat mod it is much easy to get the enchantments

#3

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 01 December 2011 - 10:44 PM

View Postkmarkopl, on 01 December 2011 - 10:41 PM, said:

Nice tutorial but there is simple way

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.  ;)

Posted Image


#4

looooooooooz123

Posted 02 December 2011 - 08:35 PM

View Postkmarkopl, on 01 December 2011 - 10:41 PM, said:

Nice tutorial but there is simple way

With the new cheat mod it is much easy to get the enchantments
what cheat mod??? TMI?

#5

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 02 December 2011 - 11:05 PM

View Postlooooooooooz123, on 02 December 2011 - 08:35 PM, said:

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.

Posted Image


#6

ii_H_dot_B_ii

Posted 03 December 2011 - 11:06 AM

This is an amazing tutorial! Thank you!

#7

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 03 December 2011 - 08:27 PM

View Postii_H_dot_B_ii, on 03 December 2011 - 11:06 AM, said:

This is an amazing tutorial! Thank you!
You're welcome, of course! I'm glad you found it helpful!  :lol:

Posted Image


#8

Builder4Free
  • Minecraft: pazzword

Posted 03 December 2011 - 08:37 PM

Wow, Cool tutorial. I like it.
MOD EDIT: Builder4Free is awesome!

#9

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 04 December 2011 - 11:20 PM

View PostBuilder4Free, on 03 December 2011 - 08:37 PM, said:

Wow, Cool tutorial. I like it.
Thanks! It's good to know that people are finding it easy enough to understand.

Posted Image


#10

CreepShock

Posted 05 December 2011 - 03:30 PM

Very informative and well-explained tutorial!
Posted Image

#11

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 05 December 2011 - 05:13 PM

View PostCreepShock, on 05 December 2011 - 03:30 PM, said:

Very informative and well-explained tutorial!
I appreciate the feedback!

Posted Image


#12

Exengo
    Exengo

    Zombie Killer

  • Members
  • 224 posts
  • Location: In front of the computer.
  • Minecraft: lollo333
  • Xbox:Exengo

Posted 08 December 2011 - 06:34 PM

awesome, you know your tutorial is shown on minecraft wiki

here

Posted Image

#13

Zaneus
    Zaneus

    Diamond Miner

  • Members
  • 853 posts
  • Minecraft: Zaneus

Posted 08 December 2011 - 09:23 PM

Cool tut. It may be useful for when I start doing the finer points of my maps.
i45.tinypic.com/2l913wi.jpg[link]minecraftforum.net/topic/1333551-[/link]

#14

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 09 December 2011 - 10:02 AM

View Postlollo333, on 08 December 2011 - 06:34 PM, said:

awesome, you know your tutorial is shown on minecraft wiki

here
Awesome!  :lol:

View PostZaneus, on 08 December 2011 - 09:23 PM, said:

Cool tut. It may be useful for when I start doing the finer points of my maps.
That's one of the major reasons I use this method! Happy to help.

Posted Image


#15

Pixali
    Pixali

    Newly Spawned

  • Members
  • 1 posts

Posted 10 December 2011 - 02:27 AM

You should add a link to the minecraft wiki here: http://www.minecraft...chantment_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. :P

#16

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 10 December 2011 - 11:45 AM

View PostPixali, on 10 December 2011 - 02:27 AM, said:

You should add a link to the minecraft wiki here: http://www.minecraft...chantment_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. :P
It's already in the tutorial, under "Modifying an Existing Enchantment."

View PostSlayde7, on 01 December 2011 - 10:37 PM, said:

Click here for a full table of enchantment types and IDs.

Posted Image


#17

Bitrandombit

Posted 10 December 2011 - 03:44 PM

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!
If life were meant to be fair we would never be thirsty, and have to pee at the same time.

#18

Slayde7
    Slayde7

    Stone Miner

  • Members
  • 79 posts
  • Minecraft: Slayde7

Posted 14 December 2011 - 04:24 PM

View PostBitrandombit, on 10 December 2011 - 03:44 PM, said:

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!

Posted Image


#19

Explorator_Vimes
  • Location: New Jersey

Posted 21 December 2011 - 03:38 AM

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.

#20

jtqx
    jtqx

    Out of the Water

  • Members
  • 6 posts

Posted 21 December 2011 - 04:59 AM

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!

Edit: iwas using the float instead of short. LOL
Posted Image