|
|
@ -52,6 +52,7 @@ class CmdList(private val chunkmaster: Chunkmaster) : Subcommand {
|
|
|
|
val genTask = task.generationTask
|
|
|
|
val genTask = task.generationTask
|
|
|
|
val progress = genTask.shape.progress(if (genTask.radius < 0) (genTask.world.worldBorder.size / 32).toInt() else null)
|
|
|
|
val progress = genTask.shape.progress(if (genTask.radius < 0) (genTask.world.worldBorder.size / 32).toInt() else null)
|
|
|
|
val percentage = " (%.1f".format(progress * 100) + "%)."
|
|
|
|
val percentage = " (%.1f".format(progress * 100) + "%)."
|
|
|
|
|
|
|
|
|
|
|
|
val count = if (genTask.radius > 0) {
|
|
|
|
val count = if (genTask.radius > 0) {
|
|
|
|
"${genTask.count} / ${ceil(genTask.shape.total()).toInt()}"
|
|
|
|
"${genTask.count} / ${ceil(genTask.shape.total()).toInt()}"
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|