RefreshResult

sealed interface RefreshResult(source)

Result of refreshing a single template.

Inheritors

Types

Link copied to clipboard

The definition references a dimension that does not exist on this server.

Link copied to clipboard

The XZ footprint contained no non-air blocks at any Y level.

Link copied to clipboard

An I/O error occurred while exporting or writing the template.

Link copied to clipboard
data class Success(val path: Path, val blocks: Long, val nonAirBlocks: Long = 0) : EverArenas.RefreshResult

Template exported successfully.

Link copied to clipboard
data class TooLarge(val blocks: Long, val maxBlocks: Long) : EverArenas.RefreshResult

Export was refused due to exceeding the configured maximum block count.

Link copied to clipboard

No definition exists for the requested key.