Closed ASchneider-GitHub closed 3 years ago
Hi, this error means that there is a problem in one of the keys of the "biomes" map. In your case it's easy to see, here:
- "28:": [[-931, 3035]]
+ "28": [[-931, 3035]]
I'm also unsure of whether or not I'm supposed to use BLOCK coordinates, or CHUNK coordinates, when entering biome data.
Biome data is block coordinates, because there may be more than one biome per chunk. But everything else in the seedInfo is chunk coordinates. I think the best strategy is to take the coordinates at a biome border, then move 200 blocks, find another biome border, and so on.
However, there is a problem. I don't remember if using slime chunks + biomes is implemented. If it's not, I can easily add a command that uses a list of biomes and a list of possible seeds, and prints the seeds that match all the biomes.
My mistake for missing such an obvious issue. I fixed it, and it ran just fine, although it still spit out the same amount of 64bit seeds. It seems that comparing biomes to coordinates for a given seed wasn't implemented. If you do end up putting that feature into the code, please let me know! I might also try using the JAR file for Amidst v4.6 to create a simulated version of a world given a seed, and then use it's getBiomeData method to pull the biome type for given coordinates. We'll see if that pans out.
Ok, already implemented the new command: filter-biomes
. Usage example:
slime_seed_finder find -i seedInfo.json -o candidates.json
slime_seed_finder filter-biomes -i seedInfo.json --candidate-seeds candidates.json -o seeds.json
So just update and see if it works :)
Success! Using the slime chunks gave a list of 750 possible 64bit seeds. Using the filter-biomes
to then compare the candidate seeds against the gathered biome information brought it down to one possibility. I plugged that seed into MC and it was a perfect match. Your update works like a charm! Thanks!
Nice!
Currently when attempting to run
slime_seed_finder find -i seedInfo.json -o seeds.json
the following error message is outputted:This only occurs when the "biomes" array is included. If it's excluded, the program finds 753 possible seeds. I was hoping including the biomes would narrow down the results. I'm also unsure of whether or not I'm supposed to use BLOCK coordinates, or CHUNK coordinates, when entering biome data. Any advice? Any explanation of what's failing here? The seedInfo.json I'm using is show below.