Creates a new AreaBackup instance.
The ID of the area backup.
The timestamps of the backups, sorted newest first.
The structure IDs of the backed up area.
The dimension of the backed up area.
The corner of the backed up area.
The size of the backed up area.
The opposite corner of the backed up area.
Backs up the area.
Optional
saveTime: number = ...The timestamp to save the backup.
Optional
options: StructureCreateOptions = ...The options to use when creating the backup. Defaults to { saveMode: StructureSaveMode.World, includeBlocks: true, includeEntities: false }
.
Optional
sizeLimits: Vector3 = ...The size limits to use when splitting the area. Defaults to { x: 64, y: 128, z: 64 }
.
Backs up a specific range of the area.
The range to back up.
The timestamp to save the backup.
Optional
options: StructureCreateOptionsThe options to use when creating the backup.
Clears all backups from the area backup.
Clears a specific backup from the area backup.
The timestamp of the backup to clear.
Clears all backups from the area backup.
Deletes the area backup.
Rolls back to a specific backup.
Optional
saveTime: number = ...The timestamp of the backup to roll back to. Defaults to the newest backup.
Optional
clearSave: boolean = falseWhether to clear the backup after rolling back. Defaults to false
.
Optional
options: StructurePlaceOptionsThe options to use when placing the backup.
Optional
sizes: Vector3 = ...The sizes to use when rolling back. Defaults to { x: 64, y: 128, z: 64 }
.
1
if successful, 0
if not.
The structure IDs of the backed up area for a specific backup.
The timestamp to get the structure IDs for.
The structure IDs for the given timestamp.
The JSON representation of the area backup.
The JSON representation of the area backup.
The JSON representation of the area backup without the ID.
The JSON representation of the area backup without the ID.
A class representing an area backup.