Repository navigation
Add a finder for good places to start a box - #148
Merged
Merged
Conversation
/boxadmin areas find <area> [seed|random] [radius] searches the biomes of a seed for dry, wooded land near water, generates the land around the best places in a throwaway world and scores each for how soon a box there holds logs, water, stone, iron ore and coal. Areas can now take their land from anywhere in their seed with a new centre setting in areas.yml, so a place that is found can be used. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Stacked on #147 (it uses the land survey from there). Merge #147 first, then this can be retargeted to
develop.What it does
/boxadmin areas find <area> [seed|random] [radius]looks through a seed for good places to start a box, so the seed and spot no longer have to be found by trial and error.areas/<area>/spots.txt. When the area's own seed is searched, the place it uses now is scored too for comparison.The throwaway world is unloaded without saving and deleted, along with any left behind by a search the server stopped in the middle of.
New area setting
centre: x,zinareas.ymlsets where in the seed the middle of every box is taken from (default 0,0, as before). It applies to the overworld. The Nether is still taken from 0,0. Changing it needs/boxadmin areas rebuild <area> regenerateand a restart, like a change of seed.Testing
/boxadmin areas checkran against it.🤖 Generated with Claude Code
https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git