Labeled world rows by dimension

- /iris worlds and /iris info label each row with its own dimension key instead of the shared generator identity
- Dropped the redundant world= field now that the row label carries the dimension key
- Rows for worlds whose engine has not started use the same dimension key label
- Listing tests assert per-world row labels, including an unstarted engine row
This commit is contained in:
Brian Neumann-Fopiano committed 2026-10-15 09:29:56 -04:00
1 parent 0c9ae9ed4d
commit 9a241b85cb
2 files changed
+41 -10

No files matched your search

@@ -294,13 +294,11 @@ public final class IrisModdedCommands {
}
Engine engine = irisGenerator.engineIfBound();
if (engine == null) {
lines.add(irisIdentity + ": pack=" + irisGenerator.dimensionKey()
+ " world=" + dimensionId + " (engine not started yet)");
lines.add(dimensionId + ": pack=" + irisGenerator.dimensionKey() + " (engine not started yet)");
continue;
}
String featureStatus = irisGenerator.importedFeaturesStatus();
lines.add(irisIdentity + ": pack=" + engine.getDimension().getLoadKey()
+ " world=" + dimensionId
lines.add(dimensionId + ": pack=" + engine.getDimension().getLoadKey()
+ (showSeed ? " seed=" + engine.getWorld().getRawWorldSeed() : "")
+ " height=" + engine.getMinHeight() + ".." + engine.getMaxHeight()
+ " generated=" + engine.getEngineData().getStatistics().getChunksGenerated()