further compressed data tree cleanup

This commit is contained in:
Sen 2025-05-28 17:07:33 +02:00
parent b52053f5ea
commit 815c52e5d7
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
8 changed files with 240 additions and 265 deletions

View file

@ -10,9 +10,13 @@ public class CommandSeed extends Command {
super("seed");
this.addWorld("dim", true);
this.addFlag("dump", 'd');
}
public Object exec(CommandEnvironment env, Executor exec, WorldServer world) {
public Object exec(CommandEnvironment env, Executor exec, WorldServer world, boolean dump) {
if(dump)
exec.logConsole("Daten: %s", world.dimension.dumpTags().toString());
exec.logConsole("Startwert von %s: %d", world.dimension.getFormattedName(false), world.dimension.getSeed());
return world.dimension.getSeed();
}