DaMatrix / SaveSearcher

scan a minecraft world for various things
https://daporkchop.net
Other
71 stars 7 forks source link

Option for outputting the amount of blocks per chunk #7

Closed Yqey closed 4 years ago

Yqey commented 4 years ago

So I want to figure out which chunk has the least amount of bedrock in the world, for that I need to analyze every chunk in a world and make it output a spreadsheet with the amounts of each block per chunk.

There should be an option to instead of listing the coordinates, that it instead lists the amount of block per chunk in to an output spreadsheet.

Using MCEdit's analyze function isn't an option as it would take days to manually analyze every single chunk.

DaMatrix commented 4 years ago

How about something like --count,type=block,id=minecraft:bedrock?

Yqey commented 4 years ago

Does that output the block amount per chunk?

DaMatrix commented 4 years ago

It would, yes.

(((it doesn't exist yet, that's a suggestion as to how it might work once i've added it)))

Yqey commented 4 years ago

Well that was fast, also how come literally every concievable useful 2b2t related program has been and was created by you?

DaMatrix commented 4 years ago

I'll take that answer as a "yes" and get straight to adding a --count mode.

As to your question: writing code for block game is more fun than block game. Also, I made this and RegionMerger so I could do the merging for the 100k map.

DaMatrix commented 4 years ago

Compiled jar is at https://github.com/DaMatrix/SaveSearcher/releases/tag/1.5.3