Skip to content

Add advanced structure querying#78

Merged
xpple merged 5 commits intomasterfrom
advanced-structure-querying
Apr 4, 2025
Merged

Add advanced structure querying#78
xpple merged 5 commits intomasterfrom
advanced-structure-querying

Conversation

@xpple
Copy link
Owner

@xpple xpple commented Apr 3, 2025

This PR adds advanced structure locating to the /sm:locate feature structure command. It allows for commands with additional requirements, like:

  • /sm:locate feature structure village
  • /sm:locate feature structure end_city[end_ship]
  • /sm:locate feature structure ruined_portal{giant=true, underground=true}
  • /sm:locate feature structure fortress[bridge_spawner, corridor_nether_wart]

and many other constraints.

Because some combinations of constraints are very rare, commands can take exceedingly long to execute, effectively freezing the game. For this reason, SeedMapper's locating tasks will now be executed on a separate single thread. This also closes #31.

@xpple xpple merged commit b17afe8 into master Apr 4, 2025
4 checks passed
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.

Threading

1 participant