Jump to content

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

NBTedit


  • This topic is locked This topic is locked
826 replies to this topic

#1

copygirl
    copygirl

    Obsidian Miner

  • Members
  • 1425 posts

Posted 19 February 2010 - 11:05 AM

*
POPULAR

For everyone getting the error Unknown TagId '11' or those planning to use NBTedit:
This tool is very old, and I don't even have the source code of my old NBT library which I used in this project. I don't want to, and also can't update NBTedit to add support for the new int[] tag which was added to Minecraft a while ago. There's a few other tools linked at the bottom of this post which might be helpful (I suggest NBTExplorer), and if you find / made any I'd be glad to link them.
Happy minecrafting.

Old post:
Spoiler:


Other helpful tools you may want to check out:
- NBTExplorer: A better NBT editor by jaquadro.
- In-Game NBTEdit: Forge compatible mod for editing (tile) entities by Davidee.

- INVedit: Inventory editor by me.
- Not Enough Items: Inventory editor mod and more by ChickenBones.
- Too Many Items: Inventory editor mod by Marglyph.
- MCEdit: World editor by codewarrior.

Register or log in to remove.

#2

deps
    deps

    Redstone Miner

  • Members
  • 638 posts
  • Location: Småland, Sweden

Posted 19 February 2010 - 12:36 PM

You're not alone! :D
But you have a nice piece of software there! Even if it alienates me as a mac user.
I haven't added a GUI to mine yet, so I doesn't have anything to show.

About the byte arrays: Add some sort of hex editor?
Hex editing reality to give us infinite grenades
Hurry notch, you glorious bearded bastard! - Kilbas

#3

Atomic
    Atomic

    Zombie Killer

  • Members
  • 216 posts

Posted 19 February 2010 - 01:27 PM

Very nice interface!
Can I suggest adding some tooltips so you can identify the data types/buttons faster?
I agree about adding an hex editor for byte[]'s.
How about being able to reorder/rename tags like you do in Win Explorer (drag drop/single click after selecting)?
Developer of Paint3D - Easy to use, innovative paint-like 3D editor.
Script to edit Minecraft maps with Paint3D

#4

deps
    deps

    Redstone Miner

  • Members
  • 638 posts
  • Location: Småland, Sweden

Posted 19 February 2010 - 01:29 PM

Renaming would be nice, but you cannot guarantee that the tags are in a specific order, according to the docs.
Hex editing reality to give us infinite grenades
Hurry notch, you glorious bearded bastard! - Kilbas

#5

Atomic
    Atomic

    Zombie Killer

  • Members
  • 216 posts

Posted 19 February 2010 - 01:49 PM

I meant reordering for list tags.
Developer of Paint3D - Easy to use, innovative paint-like 3D editor.
Script to edit Minecraft maps with Paint3D

#6

copygirl
    copygirl

    Obsidian Miner

  • Members
  • 1425 posts

Posted 19 February 2010 - 04:00 PM

deps said:

You're not alone! :)
But you have a nice piece of software there! Even if it alienates me as a mac user.
I haven't added a GUI to mine yet, so I doesn't have anything to show.
I'm sorry about that :/
Anyway, thanks and good luck with yours!

deps said:

About the byte arrays: Add some sort of hex editor?
I tried but ended up messing everything up, so I decided to let the users choose their favorite hex editor. I could add some kind of option which lets you choose an external program tho..

Atomic said:

Very nice interface!
Thanks!

Atomic said:

How about being able to reorder/rename tags like you do in Win Explorer (drag drop/single click after selecting
Well, reordering is possible with Ctrl+Up/Down (that's just right, imo) and renaming by clicking once and waiting a second or so, too.

#7

gigaman
    gigaman

    Lapis Lazuli Collector

  • Members
  • 1060 posts
  • Location: Canada, Newfoundland
  • Minecraft: Gigaman
  • Xbox:Sn0wpenguin

Posted 19 February 2010 - 07:04 PM

whats the id for diamond block?

seekercat said:

Can't get wood, eh? I think they make pills for that.
Posted Image
steam name-Lunarglare

#8

copygirl
    copygirl

    Obsidian Miner

  • Members
  • 1425 posts

Posted 19 February 2010 - 09:17 PM

gigaman said:

whats the id for diamond block?
I quickly made a page, which shows all of the block IDs, also added it to the original post. Diamond is 57.

#9

deps
    deps

    Redstone Miner

  • Members
  • 638 posts
  • Location: Småland, Sweden

Posted 19 February 2010 - 11:13 PM

Awesome list! Just what I need! Thanks a lot. :)

Edit: Here's a bunch more ID's one can have in their inventory. It's no way complete yet. It's just what I had in my save files when I made the list:
iron_showel: 256,
iron_pickaxe: 257,
iron_axe: 258,
flint_and_steel: 259,
apple_helmet: 260,
bow: 261,
arrow: 262,
coal: 263,
iron_bar: 265,
iron_sword: 267,
wood_shovel: 269,
wood_pickaxe: 270,
stone_sword: 272,
stone_pickaxe: 274,
bowl: 281,
mushroom_soup: 282,
feather: 288,
gunpowder: 289,
stone_hoe: 291,
seeds: 295,
stick: 280,
string: 287,
gold_boots: 317,
gold_pants: 316,
gold_armor: 315,
gold_helm: 314,

Hex editing reality to give us infinite grenades
Hurry notch, you glorious bearded bastard! - Kilbas

#10

Varriount

Posted 20 February 2010 - 12:29 AM

I know there is a way to get fire in your inventory, and saw in another thread, what is the number for it?
Remember that even old echoes can create new harmonies.
Who sits down and writes maniacle laughter?

#11

deps
    deps

    Redstone Miner

  • Members
  • 638 posts
  • Location: Småland, Sweden

Posted 20 February 2010 - 12:33 AM

Check the page copyboy links to in his first post in this thread. And it was me who showed how to get fire in your inventory. (And I mentioned the ID in that same thread :D)
Hex editing reality to give us infinite grenades
Hurry notch, you glorious bearded bastard! - Kilbas

#12

Varriount

Posted 20 February 2010 - 12:43 AM

Sorry, I was being a twit, thanks for the answer.
Remember that even old echoes can create new harmonies.
Who sits down and writes maniacle laughter?

#13

copygirl
    copygirl

    Obsidian Miner

  • Members
  • 1425 posts

Posted 20 February 2010 - 01:45 AM

Ok, new version's up. Changed:
• Fixed a bug with copying compounds (and lists? Dunno :/).
• Dragging files on .exe will open them on start (also works while running).
• Shortcuts for creating tags (for example: Ctrl+2 => TagShort, Ctrl+Shift+8 => TagList of TagStrings).
• Name stays the same when copying tags (if there is no other tag with that name).
Aaand some other minor stuff I probably forgot ...

EDIT: Oh, and thanks deps, I'll upload an item lookup site soon ;)

#14

Sirich
    Sirich

    Tree Puncher

  • Members
  • 22 posts

Posted 20 February 2010 - 03:35 AM

Pretty awesome tool, Found out that Diamond gems (Mined out diamond ore) are 264.

Edit: And Coal is 263.
I've been around since before trees existed, and you spawned in the sky and fell to the ground.
I laugh at people claiming to be elders because they played Indev.

hah... younglings...

#15

matthew102000

Posted 20 February 2010 - 09:31 AM

what is the id for cooked pork chops?
EDIT: and bread...
Give me an internet, or Chuck Norris will kill you!!!
Posted Image

#16

deps
    deps

    Redstone Miner

  • Members
  • 638 posts
  • Location: Småland, Sweden

Posted 20 February 2010 - 12:23 PM

Give me a save with as much different stuff as possible, and I will figure it out for you. ;)

Or just open up the savefile in NBTedit and see for your self. The Slot numbers are a bit strange:
09 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26
27 28 29 30 31 32 33 34 35 
00 01 02 03 04 05 06 07 08 <- Bottom row of inventory
Find the slot number of the slot you want to check, then find the compound inside NBTedit, and you will find the ID.
Hex editing reality to give us infinite grenades
Hurry notch, you glorious bearded bastard! - Kilbas

#17

copygirl
    copygirl

    Obsidian Miner

  • Members
  • 1425 posts

Posted 20 February 2010 - 02:01 PM

Here you go: http://copy.bplaced.net/mc/items/
Oh and to find your inventory, simply search for "LocalPlayer" (Well, it's the first entry in "Entities", just to show you that the search is working :D). Chests are in the "TileEntities"-compound.

#18

Snake
    Snake

    Void Walker

  • Members
  • 1764 posts
  • Location: United States of America

Posted 20 February 2010 - 05:17 PM

I'll be using this to put the items I reskin from items.png into my inventory to test them out. Thanks for this. : )
E: You can hold fire in your inventory with this! The file doesn't load when I put one TNT in my inventory, though. The screen just goes black.
E2: Never mind, TNT is working now.

#19

NGgod
    NGgod

    Forum/Wiki Sponsor

  • Members
  • 4815 posts
  • Location: Northern England
  • Minecraft: NGgod

Posted 20 February 2010 - 09:18 PM

This topic inspired me to join... what about a table of time of day as i hate night, just as the first bit of dark comes its 9057
edit* and i just thought i cant seem to find items being worn by the player hmmmm
Posted Image
Posted Image

#20

deps
    deps

    Redstone Miner

  • Members
  • 638 posts
  • Location: Småland, Sweden

Posted 20 February 2010 - 09:39 PM

copyboy said:

Here you go: http://copy.bplaced.net/mc/items/
Oh and to find your inventory, simply search for "LocalPlayer" (Well, it's the first entry in "Entities", just to show you that the search is working :)). Chests are in the "TileEntities"-compound.
Excellent work! Thanks a lot! :D
Hex editing reality to give us infinite grenades
Hurry notch, you glorious bearded bastard! - Kilbas