From bd8c5ed97b62e9184be17f1173e6561b04d39656 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 9 Mar 2025 13:04:31 +0700 Subject: [PATCH] Clarify docs --- .../mc/otm/worldgen/placement/EllipsoidPlacement.kt | 4 +--- .../ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/EllipsoidPlacement.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/EllipsoidPlacement.kt index 08c4db87b..7a28d1053 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/EllipsoidPlacement.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/EllipsoidPlacement.kt @@ -20,9 +20,7 @@ import kotlin.math.PI import kotlin.math.roundToInt /** - * Regular ellipsoid ("cloud") placement, suitable to be used as non-primary placement modifier - * - * This placement modifier is designed to be terminal; other placement modifiers after this MUST NOT be placed + * Ellipsoid ("cloud") placement */ data class EllipsoidPlacement( /** diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt index e6b7ccd2c..063b900a0 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/worldgen/placement/WormPlacement.kt @@ -29,6 +29,9 @@ import kotlin.math.cos import kotlin.math.sign import kotlin.math.sin +/** + * Creates one block thick "worm" positions which twists and turns + */ class WormPlacement( val length: IntProvider, val turnChanceXZ: BooleanProvider,