Geode Finder
This programs helps find high density clusters of geodes and budding amethyst in a Minecraft world without running real world generation. It runs a search through each chunk within the search radius and finds areas exceeding the selected threshold of geodes within the loaded radius. Then, it goes through each area and fully simulates the geode generation to find the areas that also exceed the budding amethyst threshold. The program both prints out a list of coordinates of central chunks of each cluster and saves the results to an output file.
Installation
GitHub Releases
- Executables for Windows and Linux are located in GitHub releases.
Cargo
-
Install and set up a Rust development environment.
-
Use
cargo install geode-finderto download, build, and install the program. -
The executable will be located your cargo binary directory.
Source
-
Install and set up Rust development environment.
-
Download or clone this repository.
-
Use
cargo build --releaseto build the program. -
The executable will be located in the
./target/release/directory.
Usage
-
Open a terminal and navigate to the folder containing the binary. On Windows, you can navigate to the folder with the .exe in File Explorer, right click, and select "Open in Terminal".
-
Run
./geode-finder.exe --helpor./geode-finder --helpto view the list of options:Option Information Default -h,--helpShows the list of options -V,--versionPrints the version of the program -m,--minecraft-versionMinecraft version to use (1.17, 1.18, or 1.19) 1.19 -s,--seedSeed of your world 0 -r,--search-radiusRadius of chunks to search over 1000 -g,--geode-thresholdMinimum number of geodes in a cluster 20 -b,--budding-thresholdMinimum number of budding amethyst in a cluster 800 --loaded-radiusRandom tickable radius 6 --center-xx coordinate of the center chunk 0 --center-zz coordinate of the center chunk 0 --output-pathWhere to save results output.json --estimateEstimate the number of clusters without running the search false -
Run the program with your selected options.
Example:
./geode-finder.exe -r 10000 -g 22 -b 850will search a 10000 chunk radius around (0, 0) to find 13x13 (--loaded-radius* 2 + 1) clusters that have at least 22 geodes at 850 budding amethyst. -
The program will find all valid geode clusters at the beginning, then check if each cluster will meet the budding amethyst threshold. It will print the clusters out and save them to file selected by
--output-path. -
If you have Carpet mod installed, I've included a helper script to facilitate world pregeneration. Copy the printed list of valid geode locations to
[world]/scripts/shared/geodes.txtand placegeodegen.scinside the[worldname]/scriptsdirectory. Load the script and begin the search with./geodegen. This script currently does not work with the--output-pathfile.
Credits
- KaptainWutax for reference implementation of a geode finder
- MrSpike for some help with logic and information about geode generation