Chest at -119,56,40
3 Wheat
1 Wheat
1 Saddle
1 Saddle
1 String
1 Gunpowder
Chest at -94,64,189
29 Wool (White)
9 Cobblestone
3 Slabs
4 Wooden Pressure Plate
1 Iron Axe
7 Glass
Chest at -65,27,25
Chest at -65,27,24
64 Gravel
6 Gravel
64 Dirt
2 String
53 Dirt
Potential Uses
Finding stuff you lost
Seeing what you missed in an adventure map
Cheating at an adventure map
Remembering where you put stuff in your own adventure map
Other Tools
I now have a general code framework for searching maps and reporting on stuff. What other little tools like this would folks be interested in?
Maybe a tool that can find all blocks that are not naturally generated or placed, to locate something of yours?
There's no general way to know if a block is naturally generated or not, aside from certain blocks not appearing naturally at all. Even if there were, that kind of data is something you would want to show on a map, I think. For this tool, I will probably stick to things that can be conveyed in text like lists, tables, and statistics.
So if there was a specific block or pattern you want to look for, I could do that.
I see you also use JNBT. It's a nice library - I wouldn't have been able to code that necessary code!
Rollback Post to RevisionRollBack
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I am not very experienced in command line usage and I think I need some help with this. I downloaded the .jar, got into the command box, typed in what you said to type in, but now I'm confused. What exactly is <world path>? Is it the folder in .minecraft\saves that has my world? and is there a certain place I need to put the .jar file?
I can't get this to work, is this updated for 1.2.5?
I get this error:
java.io.IOException: Invalid tag type: 11.
at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:169)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:101)
at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:159)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:101)
at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:159)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:101)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:79)
at TreasureHunter$EmptyReport.processRegion(TreasureHunter.java:54)
at TreasureHunter$EmptyReport.processWorld(TreasureHunter.java:34)
at TreasureHunter.main(TreasureHunter.java:145)
Would it be possible to make this same sort of thing but look for a specified block ID?
Like... I want to find the coordinates of all diamond blocks or iron blocks. (instead of chests)
Obviously I wouldn't need the extra (content of chest) data
Minecraft Land Generator | Memory issues? Try this:java -Xincgc-Xmx1024M -Xms512M -jar Minecraft.jar "We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I didn't know this was broken because the forum doesn't notify me when people reply to this thread, like it's supposed to. I'll fix the JNBT issue when I get a chance.
Download - Aug 11, 2013 - for Minecraft 1.6.2
http://extension.ws/mclooter.jar
Command Line Usage
Example Output
Potential Uses
Other Tools
I now have a general code framework for searching maps and reporting on stuff. What other little tools like this would folks be interested in?
If you can get hold of the map files, sure.
WHAT?!
Danger zone.
There's no general way to know if a block is naturally generated or not, aside from certain blocks not appearing naturally at all. Even if there were, that kind of data is something you would want to show on a map, I think. For this tool, I will probably stick to things that can be conveyed in text like lists, tables, and statistics.
So if there was a specific block or pattern you want to look for, I could do that.
I see you also use JNBT. It's a nice library - I wouldn't have been able to code that necessary code!
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera
I get this error:
java.io.IOException: Invalid tag type: 11.
at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:169)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:101)
at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:159)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:101)
at org.jnbt.NBTInputStream.readTagPayload(NBTInputStream.java:159)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:101)
at org.jnbt.NBTInputStream.readTag(NBTInputStream.java:79)
at TreasureHunter$EmptyReport.processRegion(TreasureHunter.java:54)
at TreasureHunter$EmptyReport.processWorld(TreasureHunter.java:34)
at TreasureHunter.main(TreasureHunter.java:145)
Thanks!
Would it be possible to make this same sort of thing but look for a specified block ID?
Like... I want to find the coordinates of all diamond blocks or iron blocks. (instead of chests)
Obviously I wouldn't need the extra (content of chest) data
JNBT has been updated FYI.
http://www.minecraftforum.net/topic/4887-java-nbt-library-jnbt/page__st__20#entry18594286
"We must be that generation that stands athwart history yelling: 'Hey, jackass, get your government off my freedom!'" - Jason Mattera