LAST UPDATED ON MAY 30, 2011 FOR MINECRAFT 1.6. NO MORE UPDATES ARE PLANNED.
Hello,
InvGrid is a simple Minecraft inventory editor native for OS X and Linux. It's written in C++ using Qt. The license is public domain. Thanks to everyone for the positive support and feedback!
Notes
To colorize wool, set the damage to a value listed below.
0: Plain
1: Orange
2: Magenta
3: Light Blue
4: Yellow
5: Light Green
6: Pink
7: Black
8: Grey
9: Cyan
10: Purple
11: Blue
12: Brown
13: Dark Green
14: Red
15: Black
List originally provided by poke722.
Similarly to wool, wood can be changed with its damage using the list below to change the type.
0: Regular
1: Redwood
2: Birch
List originally provided by Blagob.
Dyes can be changed as well by modifying the damage value.
0: Ink Sac
1: Rose Red
2: Cactus Green
3: Cocoa Beans
4: Lapis Lazuli
5: Purple Dye
6: Cyan Dye
7: Light Gray Dye
8: Gray Dye
9: Pink Dye
10: Lime Dye
11: Dandelion Yellow
12: Light Blue Dye
13: Magenta Dye
14: Orange Dye
15: Bone Meal
Lua Scripting
For Lua scripting examples, see this post. You can use scripting to add items that aren't normally listed in InvGrid.
Custom Items
As of version 0.8.2, you can now register custom item types. This is so mod users and impatient people who can't wait for InvGrid to update can add new items themselves. All custom items are available using Lua.
To add custom items, you must be create an items.csv file in the InvGrid settings directory.
OS X: <User>/Library/Application Support/invgrid/items.csv
Linux: ~/.invgrid/items.csv
The items.csv is a plain text file in a comma delimiter format with two columns. The first column must be the item value and the second must be the item name. Duplicating an existing item value OR item name will overwrite that item for the duration InvGrid is running.
Usage instructions
Start InvGrid and go to File->Open World X, with X being the world number of your save.
Next, select a row in the table on the left to begin editing. If an item doesn't exist in that slot, click "New Item" to create one. Adjust the selected item's type, count, and damage on the right. Changes are automatically reflected in the left table.
Finally, when you're done editing, go to File->Save to save your changes.
Changes
Version 0.9
- Added items introduced in Minecraft 1.4, 1.5, and 1.6.
Version 0.8.2
- Added items introduced in version 1.3.
- Added loading of custom item types from a csv file in the InvGrid settings directory called items.csv.
- Changed the File->Open dialog so it automatically opens to the Minecraft saves directory.
Version 0.8.1
- Added Beta items and blocks.
- Fixed crash when trying to save after running a script.
Version 0.8
- Added Lua based scripting.
- Added health field to Misc. page.
- Added prompt on close that asks if user wants to save changes.
Version 0.7
- Fixed unknown items being turned into air when edited.
- Changed item type list so it expands to fit as much space as is available vertically.
- Added double clicking an empty slot in the inventory table will now automatically create a new item.
- Added preset item buttons for creating stone, wood, glass, and torches x64. (Consider it a trial feature)
- Added misc page for adjusting the time of day, spawn position, and current position. (With helpful explanation provided by Rofang!)
- Changed inventory and misc pages so they are disabled unless a valid world file is loaded.
Version 0.6.1
-Fixed item issues reported by Bigmacbook.
--Fixed Pumpkin incorrectly being Red Mossy Cobblestone.
--Renamed Red Mossy Cobblestone to Bloodstone.
--Renamed Brittle Gold to Lightstone.
--Renamed Brittle Gold Dust to Lightstone Dust.
--Renamed Glowing Pumpkin to Jack-O-Lantern.
Version 0.6
-Added Netherworld patch items. (Pumpkin, Glowing Pumpkin, Red Mossy Cobblestone, Mud, Brittle Gold, Brittle Gold Dust, Portal, Watch, Raw Fish, and Cooked Fish)
- Fixed Air being selected by default when creating a new item even though Air was removed.
- Added import and exporting of inventories as csv files.
Version 0.5
- Added copy(Ctrl+C) and paste(Ctrl+V) of items.
- Added delete item key shortcuts (Ctrl+D or Del)
- Added button that sets item damage to zero.
- Added button that sets item count to 64.
- Added Ubuntu/Debian deb package support.
- Fixed table view allowing multiple rows to be selected at the same time.
- Removed "Air" item because it's useless and causes Minecraft to crash.
- Removed buggy Iron and Wood door items. Real "Iron Door" and "Wood Door" items remain!
- Disabled automatic focus of item type field on row selection in favor of tab key navigation.
Version 0.4
- Replaced item type combo with a list and text field for easy searching of items.
- Ported to Linux. (No deb or rpm yet)
Version 0.3
- Creating a new item now automatically gives the type combobox keyboard focus.
- Added keyboard shortcuts Ctrl+1-5 for loading worlds 1-5.
- Added Inventory->New Item (Ctrl+N) menu option as an alternative to creating a new item instead of pressing the New Item button.
- Added White Cloth to item type list.
- Added application icon donated by Lachy17689. Thanks!
- Added automatic backup of existing level.dat before saving.
- Fixed crash when opening files with unknown item layouts.
- Fixed issue where opening a file with an empty inventory and then saving would corrupt the file. (Missing world problem)
Version 0.2
- Added File->Open World 1-5 options to quickly open various world files.
- Changed File->Save to work more traditionally by saving the currently open file in place.
- Added File->Save As option to save to a specific location.
- Fixed item damage not being adjustable to negative values.
It's very very nice, but i had a problem, i just change my inventory and give me 64 TNT but when I press "i" for open my inventory, minecraft crashed and I see it :
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to [email protected].
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT a1dce528 --------
Generated 26/09/10 20:16
Minecraft: Minecraft Alpha v1.1.2_01
OS: Mac OS X (i386) version 10.6.4
Java: 1.6.0_20, Apple Inc.
VM: Java HotSpot(TM) Client VM (mixed mode), Apple Inc.
LWJGL: 2.4.2
OpenGL: ATI Radeon HD 2600 PRO OpenGL Engine version 2.1 ATI-1.6.18, ATI Technologies Inc.
java.lang.NullPointerException
at ab.a(SourceFile:114)
at ee.a(SourceFile:113)
at ee.a(SourceFile:46)
at lo.a(SourceFile:60)
at iq.b(SourceFile:301)
at net.minecraft.client.Minecraft.run(SourceFile:608)
at java.lang.Thread.run(Thread.java:637)
--- END ERROR REPORT ac0c08fc ----------
I've had both of these problems -- my world showing up empty in the list of saved levels and the problem where Minecraft crashes when opening the inventory. Any insight into how to avoid both of these bugs would be awesome.
Delete the air item assigned to the feet slot. :smile.gif:
Quote from Lusidea »
It's easier for me to use than INVedit since it's native to Mac, but its really hard to use, its pretty plain (and ugly) and you can't add minuses for the values (for pickaxes, hoes, axes, spades etc).
You're right that it's ugly and could be easier to use. I want to keep it simple so it will probably never look nicer. On the other hand, I'm happy to improve usability. Also, I fixed minus values not being available, check out version 0.2!
Its a great program but I downloaded the new version and it didn't work. Help???????
Can you give me a little more detail, please? Did InvGrid not start at all? Did your inventory not change in Minecraft? Did Minecraft crash? Which version of OS X are you using? Are you using an older PPC mac or a newer Intel mac?
Excited about the new version, but whenever I try to open a level -- either by selecting one manually or by using the 'open worldX' option -- the program crashes and I get a "quit unexpectedly" message. Am I perhaps installing it to the wrong place? Tried it in Applications and then in the saves directory. Happy to provide more information if it'd be useful. I'm running OS 10.5.
Excited about the new version, but whenever I try to open a level -- either by selecting one manually or by using the 'open worldX' option -- the program crashes and I get a "quit unexpectedly" message. Am I perhaps installing it to the wrong place? Tried it in Applications and then in the saves directory. Happy to provide more information if it'd be useful. I'm running OS 10.5.
Can you upload your level.dat that crashes, please? Sounds like my NBT parser is hitting a snag, which I'm happy to debug and fix.
⌘1 - Open world 1
⌘2 - Open world 2
⌘3 - Open world 3
.. etc ..
⌘N - New Item
Also, when the new item button action is called, can it automatically give the 'type' dropdown focus?
Icons would be cool, too. :smile.gif:
And another - how about ⌘R to refresh if you've already got a world open? May be pointless with the 'open world ones' above, though..
Edit: You're missing cloth. Couldn't find it in the editor so gave myself string, now when I look at the slot I have cloth in InvGrid it just shows '35'.
scgreg, I fixed everything you suggested except refresh and icons. I think the refresh option is redundant, but it is not completely ruled out. I don't know if I'll ever add icons. Keeping artwork out helps to keep the project simple. Expect the release soon, I want to see if I can get this crash some people are experiencing fixed first.
Quote from FranktheZumbi »
I am having a problem, when I try to pick a world to edit it just crashes.
I get "The application InvGrid quit unexpectedly"
Please fix?
Can you upload your level.dat so I can debug it, please?
You usually would upload to your own site or something like Megaupload. Although, you can hold off for now. nate451 already uploaded one and he is having the same problem.
Quote from nate451 »
You can see an example level.dat that makes InvGrid v0.2 crash for me at this URL:
I suspect it's not a level-specific bug, though, as it happens any time I try to use the Open World X shortcuts, too.
Thanks for uploading! You appear to be right, I don't have any issues opening your level.dat file. I'll do a quick code review and see if I can spot anything. In effort to help track down the issue, can you please post your version of OS X (Leopard or Snow Leopard) and CPU architecture?
Quote from potatoman1234 »
i have a problem when i try to start it it shows up in the bottom bar then gos away can someone help
Can you please run Console.app in your Applications->Utilities folder and post what shows up right after you run it? Also, what version of OS X are you running and which CPU architecture?
Hello,
InvGrid is a simple Minecraft inventory editor native for OS X and Linux. It's written in C++ using Qt. The license is public domain. Thanks to everyone for the positive support and feedback!
Screenshot
Source Code
Download InvGrid 0.9 (OS X 10.5, OS X 10.6, and Ubuntu 10.10)
Download InvGrid git (Arch Linux, maintained by quantumphaze]
Notes
To colorize wool, set the damage to a value listed below.
0: Plain
1: Orange
2: Magenta
3: Light Blue
4: Yellow
5: Light Green
6: Pink
7: Black
8: Grey
9: Cyan
10: Purple
11: Blue
12: Brown
13: Dark Green
14: Red
15: Black
List originally provided by poke722.
Similarly to wool, wood can be changed with its damage using the list below to change the type.
0: Regular
1: Redwood
2: Birch
List originally provided by Blagob.
Dyes can be changed as well by modifying the damage value.
0: Ink Sac
1: Rose Red
2: Cactus Green
3: Cocoa Beans
4: Lapis Lazuli
5: Purple Dye
6: Cyan Dye
7: Light Gray Dye
8: Gray Dye
9: Pink Dye
10: Lime Dye
11: Dandelion Yellow
12: Light Blue Dye
13: Magenta Dye
14: Orange Dye
15: Bone Meal
Lua Scripting
For Lua scripting examples, see this post. You can use scripting to add items that aren't normally listed in InvGrid.
Custom Items
As of version 0.8.2, you can now register custom item types. This is so mod users and impatient people who can't wait for InvGrid to update can add new items themselves. All custom items are available using Lua.
To add custom items, you must be create an items.csv file in the InvGrid settings directory.
OS X: <User>/Library/Application Support/invgrid/items.csv
Linux: ~/.invgrid/items.csv
The items.csv is a plain text file in a comma delimiter format with two columns. The first column must be the item value and the second must be the item name. Duplicating an existing item value OR item name will overwrite that item for the duration InvGrid is running.
Example items.csv
Usage instructions
Start InvGrid and go to File->Open World X, with X being the world number of your save.
Next, select a row in the table on the left to begin editing. If an item doesn't exist in that slot, click "New Item" to create one. Adjust the selected item's type, count, and damage on the right. Changes are automatically reflected in the left table.
Finally, when you're done editing, go to File->Save to save your changes.
Changes
Version 0.9
- Added items introduced in Minecraft 1.4, 1.5, and 1.6.
Version 0.8.2
- Added items introduced in version 1.3.
- Added loading of custom item types from a csv file in the InvGrid settings directory called items.csv.
- Changed the File->Open dialog so it automatically opens to the Minecraft saves directory.
Version 0.8.1
- Added Beta items and blocks.
- Fixed crash when trying to save after running a script.
Version 0.8
- Added Lua based scripting.
- Added health field to Misc. page.
- Added prompt on close that asks if user wants to save changes.
Version 0.7
- Fixed unknown items being turned into air when edited.
- Changed item type list so it expands to fit as much space as is available vertically.
- Added double clicking an empty slot in the inventory table will now automatically create a new item.
- Added preset item buttons for creating stone, wood, glass, and torches x64. (Consider it a trial feature)
- Added misc page for adjusting the time of day, spawn position, and current position. (With helpful explanation provided by Rofang!)
- Changed inventory and misc pages so they are disabled unless a valid world file is loaded.
Version 0.6.1
-Fixed item issues reported by Bigmacbook.
--Fixed Pumpkin incorrectly being Red Mossy Cobblestone.
--Renamed Red Mossy Cobblestone to Bloodstone.
--Renamed Brittle Gold to Lightstone.
--Renamed Brittle Gold Dust to Lightstone Dust.
--Renamed Glowing Pumpkin to Jack-O-Lantern.
Version 0.6
-Added Netherworld patch items. (Pumpkin, Glowing Pumpkin, Red Mossy Cobblestone, Mud, Brittle Gold, Brittle Gold Dust, Portal, Watch, Raw Fish, and Cooked Fish)
- Fixed Air being selected by default when creating a new item even though Air was removed.
- Added import and exporting of inventories as csv files.
Version 0.5
- Added copy(Ctrl+C) and paste(Ctrl+V) of items.
- Added delete item key shortcuts (Ctrl+D or Del)
- Added button that sets item damage to zero.
- Added button that sets item count to 64.
- Added Ubuntu/Debian deb package support.
- Fixed table view allowing multiple rows to be selected at the same time.
- Removed "Air" item because it's useless and causes Minecraft to crash.
- Removed buggy Iron and Wood door items. Real "Iron Door" and "Wood Door" items remain!
- Disabled automatic focus of item type field on row selection in favor of tab key navigation.
Version 0.4
- Replaced item type combo with a list and text field for easy searching of items.
- Ported to Linux. (No deb or rpm yet)
Version 0.3
- Creating a new item now automatically gives the type combobox keyboard focus.
- Added keyboard shortcuts Ctrl+1-5 for loading worlds 1-5.
- Added Inventory->New Item (Ctrl+N) menu option as an alternative to creating a new item instead of pressing the New Item button.
- Added White Cloth to item type list.
- Added application icon donated by Lachy17689. Thanks!
- Added automatic backup of existing level.dat before saving.
- Fixed crash when opening files with unknown item layouts.
- Fixed issue where opening a file with an empty inventory and then saving would corrupt the file. (Missing world problem)
Version 0.2
- Added File->Open World 1-5 options to quickly open various world files.
- Changed File->Save to work more traditionally by saving the currently open file in place.
- Added File->Save As option to save to a specific location.
- Fixed item damage not being adjustable to negative values.
EDIT: My world shows up as empty after I finish editing. What did I do wrong?
I'm not sure about the crashing. Try the above first. Otherwise, if one of you can post a zip of your world, I'll check it out.
Here's the save of my level.dat
Delete the air item assigned to the feet slot. :smile.gif:
You're right that it's ugly and could be easier to use. I want to keep it simple so it will probably never look nicer. On the other hand, I'm happy to improve usability. Also, I fixed minus values not being available, check out version 0.2!
Can you give me a little more detail, please? Did InvGrid not start at all? Did your inventory not change in Minecraft? Did Minecraft crash? Which version of OS X are you using? Are you using an older PPC mac or a newer Intel mac?
Can you upload your level.dat that crashes, please? Sounds like my NBT parser is hitting a snag, which I'm happy to debug and fix.
I get "The application InvGrid quit unexpectedly"
Please fix?
scgreg, I fixed everything you suggested except refresh and icons. I think the refresh option is redundant, but it is not completely ruled out. I don't know if I'll ever add icons. Keeping artwork out helps to keep the project simple. Expect the release soon, I want to see if I can get this crash some people are experiencing fixed first.
Can you upload your level.dat so I can debug it, please?
http://nateeagle.com/files/level.dat
I suspect it's not a level-specific bug, though, as it happens any time I try to use the Open World X shortcuts, too.
You usually would upload to your own site or something like Megaupload. Although, you can hold off for now. nate451 already uploaded one and he is having the same problem.
Thanks for uploading! You appear to be right, I don't have any issues opening your level.dat file. I'll do a quick code review and see if I can spot anything. In effort to help track down the issue, can you please post your version of OS X (Leopard or Snow Leopard) and CPU architecture?
Can you please run Console.app in your Applications->Utilities folder and post what shows up right after you run it? Also, what version of OS X are you running and which CPU architecture?
Happens any time I try to open ANY world, via Open -> level.dat, or "Open World X" rendering this program useless. And I had gotten my hopes up!