Phase 4: regenerating ore veins, each tier in one zone
Regenerating Ore Veins 1.4.0 (CurseForge only, MIT). tools/zone_ores.py writes its config from world/zones.json: surface zones as boxes from the zone grid, cave tiers by cave biome, 21 tiers including Cobblemon's evolution stones (their natural ores are off). The world report now allows ore only in tracked veins inside their tier's zone. Self-tests: a mined vein regrows after its chunk unloads and after a restart (new after_restart pass in selftest.py and quick_check.py). make_world places showcase veins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
82f540aa51
commit
5d275e4e14
19 files changed
+10843
-37
No files matched your search
+6
-3
@@ -227,9 +227,12 @@ class Server:
|
||||
failures.append(f"{label}: {check['command']!r} did not match {check['expect']!r}")
|
||||
return failures
|
||||
|
||||
def run_selftest(self, timeout=300):
|
||||
"""Run the companion mod's in-game tests (needs SELFTEST_JVM_ARGS); returns the failures."""
|
||||
reply = self.command("cobblesurvival selftest run").strip()
|
||||
def run_selftest(self, timeout=300, after_restart=False):
|
||||
"""Run the companion mod's in-game tests (needs SELFTEST_JVM_ARGS); returns the failures.
|
||||
|
||||
after_restart runs the second halves of the cases that span a restart (stop, start again, then call this).
|
||||
"""
|
||||
reply = self.command("cobblesurvival selftest run" + (" after_restart" if after_restart else "")).strip()
|
||||
if "started" not in reply:
|
||||
return [f"selftest did not start: {reply!r}"]
|
||||
print(f" {reply}")
|
||||
|
||||
Reference in new issue
Block a user