Here's a mac application package I made that's basically just a mono wrapper: Link Removed
It's nothing complex; I made a shell script, and apart from the basic unix initialization, the only line is "mono NBTExplorer.exe"
Then I put the shell script and all the contents of NBTExplorer.zip in NBTExplorer.app/Contents/MacOS/
And that's it. The only thing I might add in the future is the Mono binaries so that it can run even if Mono is not installed. Actually, I'm going to go do that now. Edit: Done. The link is the same. The package now includes the disk image for Mono, and if it does not detect an installation of Mono, it attaches it, installs the Mono framework, and then detaches the disk image. The installer requires a password, and it prompts for one in a Terminal window. Based on your Terminal preferences, the Terminal window may not close after installation, but you can close it yourself once it has installed since it is not the console for NBTExplorer, it is actually a separate process called InstallMono.
Edit: I accidentally set the icon to the dead bush texture, can somebody send me what the icon is actually supposed to be?
It should work with all versions of Minecraft including future ones, unless the underlying NBT data format were to change.
If you change the data on a file and save it, then re-open the file in NBTExplorer, you should be able to verify that your change persisted. If it didn't persist correctly, that's a bug in NBTExplorer. If it did persist, then Minecraft doesn't understand the change you made, and so it is ignoring your change and resorting to something else.
I downloaded this and tried to change the player abilities. I save the changes and exit the program. When I open Minecraft, the changes are erased and it reverts back to the original values. What am I doing wrong?
So this program is awesome and I've been using it for editing villager trading.
One thing though I can't figure out though is if there is a way to have the villager sell you an enchanted item?
I don't know that villager trading data offhand. But if it's just the usual kind of item definition used by chests, inventories, etc., then I would think you could add in the necessary enchantment tags. If that is the format, you could try copying an enchanted item from your inventory.
I don't know that villager trading data offhand. But if it's just the usual kind of item definition used by chests, inventories, etc., then I would think you could add in the necessary enchantment tags. If that is the format, you could try copying an enchanted item from your inventory.
Hey thanks I was able to figure it out. Now I can make the villagers trade anything! MWAHAHAHAHA.. ahem.. well this is what I came up with using NBTexplorer
What evidence is there that the new golden apples are defined by damage value? I don't see anything in the wiki about it. Maybe that use enchantment tags instead (since they're called Enchanted Golden Apples).
I found this a while ago, someone created a video tutorial of editing trade items with NBTExplorer. It should still be relevant.
Basically you need to search for villager entities in your world, and then there's a few tags under their nodes that deal with trading, which you can modify. Use the Minecraft wiki to help you navigate the meaning of all the different tags.
Alternatively, there is probably a purpose-built tool released for editing this stuff with a friendly GUI by now.
Once you select the right world, open the search window, check both boxes. In the top field put "id", and in the bottom field put "Villager". Capitalization counts.
If any villagers have been generated in your world, they should be found, and you can keep hitting the search button (or F3) to advance through the results. Not all villagers will have an "Offers" dictionary in them, but hopefully at least one of them does so you can use it as a template. I hope the process is self-explanatory from that point. The Villager entry in http://www.minecraftwiki.net/wiki/Chunk_format#Mobs should be helpful.
A new version of NBTExplorer is now available. It has several fixes and improvements.
- Fixed bug handling unicode characters in strings (signs, books, etc). This is a data corrupting bug, please do all editing in the updated version
- Fixed bug creating byte arrays and int arrays
- Improved the various dialogs for creating/editing/naming tags.
- Enabled multiline string editing support with a bigger edit box.
- Byte and Int arrays are now fully editable.
What do I modify to come back from the dead? I died when I touched lava and set myself on fire though I had time to run away a skele took advantage. I tried changing Health from 0 but I get a Minecraft crash when I do that.
If you actually died I don't think there's anything you can do to resurrect yourself. You will respawn on the map, and then if you want, you can set your player coordinates to the place you died so you can collect your belongings.
If you actually died I don't think there's anything you can do to resurrect yourself. You will respawn on the map, and then if you want, you can set your player coordinates to the place you died so you can collect your belongings.
Well, there is a way as I just did it but I had to do some funky stuff. Basically I copied the level.dat_old as level.dat and tried that and I came in where I died but was alive. All of my belongings were in my inventory and blown up around me so I had a full inv and another duplicate inventory around me. The time stamp was the same so I bet it was off by mere seconds as it wrote one before I died and one after I died when I laid there in a heap and I ended the task.
Now, what this shows me is there is a way of reviving yourself and it must be a magic entry some place inside the .dat that we don't know what is yet.
Refill your health bar from half a heart with cookies!
It's nothing complex; I made a shell script, and apart from the basic unix initialization, the only line is "mono NBTExplorer.exe"
Then I put the shell script and all the contents of NBTExplorer.zip in NBTExplorer.app/Contents/MacOS/
And that's it. The only thing I might add in the future is the Mono binaries so that it can run even if Mono is not installed. Actually, I'm going to go do that now. Edit: Done. The link is the same. The package now includes the disk image for Mono, and if it does not detect an installation of Mono, it attaches it, installs the Mono framework, and then detaches the disk image. The installer requires a password, and it prompts for one in a Terminal window. Based on your Terminal preferences, the Terminal window may not close after installation, but you can close it yourself once it has installed since it is not the console for NBTExplorer, it is actually a separate process called InstallMono.
Edit: I accidentally set the icon to the dead bush texture, can somebody send me what the icon is actually supposed to be?
It's command line: mono pathtoexe
This is actually pretty much all I added to make the mac version. (See the above post)
If you change the data on a file and save it, then re-open the file in NBTExplorer, you should be able to verify that your change persisted. If it didn't persist correctly, that's a bug in NBTExplorer. If it did persist, then Minecraft doesn't understand the change you made, and so it is ignoring your change and resorting to something else.
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
One thing though I can't figure out though is if there is a way to have the villager sell you an enchanted item?
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
Hey thanks I was able to figure it out. Now I can make the villagers trade anything! MWAHAHAHAHA.. ahem.. well this is what I came up with using NBTexplorer
can you please help
Create one in game and see what it looks like.
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
Basically you need to search for villager entities in your world, and then there's a few tags under their nodes that deal with trading, which you can modify. Use the Minecraft wiki to help you navigate the meaning of all the different tags.
Alternatively, there is probably a purpose-built tool released for editing this stuff with a friendly GUI by now.
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
Once you select the right world, open the search window, check both boxes. In the top field put "id", and in the bottom field put "Villager". Capitalization counts.
If any villagers have been generated in your world, they should be found, and you can keep hitting the search button (or F3) to advance through the results. Not all villagers will have an "Offers" dictionary in them, but hopefully at least one of them does so you can use it as a template. I hope the process is self-explanatory from that point. The Villager entry in http://www.minecraftwiki.net/wiki/Chunk_format#Mobs should be helpful.
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
- Fixed bug handling unicode characters in strings (signs, books, etc). This is a data corrupting bug, please do all editing in the updated version
- Fixed bug creating byte arrays and int arrays
- Improved the various dialogs for creating/editing/naming tags.
- Enabled multiline string editing support with a bigger edit box.
- Byte and Int arrays are now fully editable.
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
Thanks.
Minecraft 1.3.2
Mods I Develop: Garden Stuff -- Storage Drawers -- Hunger Strike
Tools I Develop: NBTExplorer -- Substrate
Now, what this shows me is there is a way of reviving yourself and it must be a magic entry some place inside the .dat that we don't know what is yet.