Repository navigation
Add a reachability check for areas - #147
Merged
Merged
Conversation
/boxadmin areas check <area> plays out how a box grows in an area. It surveys the area's land, starter blueprint and structures for what a box of each size holds, then earns every advancement whose needs are in the box, grows the box by their scores and repeats. It reports where the box stops growing, what was out of reach and what can never be earned, and writes the detail to areas/<area>/reachability.txt. What each advancement needs is modelled by hand in requirements.yml, which admins can correct. Every scored advancement has an entry. 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
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
|
This was referenced Nov 25, 2026
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.



Adds
/boxadmin areas check <area>, which answers whether a player in an area can actually grow their box.What it does
areas/<area>/reachability.txt: what was earned each round, what was out of reach and at what size the missing thing first appears, what is impossible and why, and the size at which each biome, mob and structure first appears.The survey runs off the main thread and takes about half a minute for a 640-block land.
The requirements model
What each advancement needs is in a new
requirements.yml, written by hand. It lists the raw resources an advancement comes down to, not every crafting step, and some entries are simplified. It also has rules for which biomes and structures bring which mobs, since mobs cannot be read from the land. Admins can correct it. A test checks that every advancement with a score inadvancements.ymlhas an entry.What it found on the default area
Run against the default seed with the shipped structures file:
These are findings about the model as much as the land, so they need checking in-game before changing any scores.
Testing
🤖 Generated with Claude Code
https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git