Skip to content

Bring the spot finder, fortress and workshop work to develop - #153

Merged
tastybento merged 18 commits into
developfrom
feature/spot-finder
Nov 27, 2026
Merged

tastybento merged 18 commits into
developfrom
feature/spot-finder

Conversation

@tastybento

Copy link
Copy Markdown
Member

#148 to #152 were merged, but into their stacked branches and not into develop: #147 reached develop ten seconds before #148 was merged into its branch, so nothing after it followed.

This brings those five pull requests to develop as they were reviewed and merged. There is nothing new in it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git

tastybento and others added 18 commits November 24, 2026 22:50
/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
The reachability check missed the fortress in the default Nether because
it looked for one in the structures file. A fortress is part of the land,
so the check now reads nether bricks as the fortress and spawners as the
mob they make.

The game does not spawn fortress mobs in a copied Nether, so Boxed now
swaps some of the mobs that spawn on nether bricks for wither skeletons,
blazes and skeletons (world.nether.fortress-mobs).

Areas can take their Nether from anywhere in the seed with nether-centre,
and /boxadmin areas find now locates fortresses and suggests one.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
Biome styles: the layout of chosen biomes around the middle of a box is
now read by BiomeLayout, which adds rings, random patches and blended
edges to the original per-quarter lists. biomes.yml is the "original"
style and is unchanged; natural, rings, random and none ship in the
biomes folder, and admins add their own there.

Area workshop: /boxadmin areas edit opens temporary worlds for trying
out a seed and a biome style. Players in them are put in creative mode,
the worlds are peaceful with no spawning, and the workshop survives
restarts until it is discarded. Dialog boxes drive it for players and
everything can be typed for the console. Picking the centre, structures
and making the area from it are not built yet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
The workshop now looks through its seed for good places to start as soon
as its overworld is made. The biome style is laid out around every place
found and each is scored in turn; players in the workshop are told in
chat as each one is ready. The search is saved as it goes and carries on
after a restart.

/boxadmin areas spots shows the places as buttons (or a list for the
console). Picking one makes it the middle of every box, takes the player
there, marks it with a diamond block only they can see and shows the
limit of the box with a world border only they can see.

The land scoring moved out of the find command into SpotScorer so both
use the same code.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
BentoBox gives tab completion everything typed after the top command, so
the "areas" and "find" labels come before the parameters. The find, edit,
spots and rebuild commands counted from the wrong place: find offered
"random" where the area name goes, and rebuild never offered
"regenerate". They now count parameters from their own label.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
…or the places

Feedback from trying the workshop in game:

- Picking a place put the player on top of a tree. They are now put on
  the ground under the trees, beside the trunk if one is in the way, and
  the diamond block marks the ground.
- Chat filled with one line per place found. Chat is now used for the
  first place and the end of the search; progress in between is shown
  above the hotbar. The message for picking a place is one short line.
- The list of places could only be opened from chat. The swap hands key
  (F) now opens it anywhere in the workshop.
- The find command is console only. Players use the workshop.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
A box should start with a view of what can be reached. The spot finder
now leaves out places with mountain biomes within about 130 blocks, and
rates a place that is asked about by name lower if it has them.

Also tidies three test mocks that SonarCloud flagged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
/boxadmin areas make copies the land of the workshop, works out how far
a box can grow in it and shows the admin the result. When they confirm,
the area exists straight away: it is written to areas.yml, given a row,
its land and a blueprint bundle, and players can pick it. The workshop
closes and its worlds are kept as the area's seed worlds.

- TemplateBuilder.buildAsync copies the land a column of chunks at a
  time so the server keeps running.
- AreaManager.put adds an area, or replaces one, while the server runs.
- An existing area can have its land replaced, but only while no player
  has a box in it. Land of the old kind already generated in its row is
  put right by the box cleaner.
- The reachability check moved into AreaCheck so the areas check command
  and the workshop use the same code.
- The console can pick a place with areas spots <number>.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HBXcjZkd22rGNW5ZyL1git
Add biome styles and the first part of the area workshop
Find and pick the middle of the box in the area workshop
Make the workshop into an area without a restart
@sonarqubecloud

Copy link
Copy Markdown

@tastybento
tastybento merged commit 4daa2c8 into develop Nov 27, 2026
3 checks passed
@tastybento
tastybento deleted the feature/spot-finder branch November 27, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant