RundownRhino / RegionScanner

A CLI program to create Just Enough Resources world-gen.json files by scanning Minecraft region files.
GNU General Public License v3.0
22 stars 1 forks source link

Suggestion/feature request: Minimum amount to make an entry in the exported JSON file #9

Closed Garwinium closed 11 months ago

Garwinium commented 11 months ago

example: In the command line a argument could optionally be given for a minimum peak amount (say maybe 0.005%), and if there is no layer where the block occurs more then that then a entry will not be made in the JSON file for that block in that dimension.

This would be useful for filtering out blocks that only spawn in small amounts in structures like lightning rods and prismarine brick stairs for example.

RundownRhino commented 11 months ago

I'm not too sure what postprocessing I want to include into RegionScanner itself rather than leaving it to be done afterwards with, say, a python script. I might include some filters like this one, though.

RundownRhino commented 11 months ago

Done for v.0.3.2.

Garwinium commented 11 months ago

Cool, does it automatically do this now or do I have to specify a threshold in the command line arguments?

RundownRhino commented 11 months ago

Cool, does it automatically do this now or do I have to specify a threshold in the command line arguments?

It's governed by a new CLI argument and is on by default. I'll update the repo README.