Future<void> save({bool force = false}) async { if (!force && autosave) return; final bytes = state.save().exportAsBytes(); await File(defaultWorldFile).writeAsBytes(bytes); }