SaveReaderWriterContext: {
    buildVersion: number;
    compressionInfo?: ChunkCompressionInfo;
    mapName?: string;
    mods: Record<string, string>;
    saveHeaderType: number;
    saveVersion: number;
    throwErrors: boolean;
}

Context for reading/writing save files.

describes a list of mod names to their versions. Some mods have special needs.