diff --git a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/OreGen.kt b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt similarity index 94% rename from src/data/kotlin/ru/dbotthepony/mc/otm/datagen/OreGen.kt rename to src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt index 8d3b4e32d..4bb408e4a 100644 --- a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/OreGen.kt +++ b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt @@ -26,8 +26,6 @@ import ru.dbotthepony.mc.otm.worldgen.feature.BlackHolePlacerConfiguration private object ConfiguredFeatures { val TRITANIUM_ORE = key("tritanium_ore") - - // TODO: ЭТО НЕ РУДА val BLACK_HOLE = key("black_hole") private fun key(name: String): ResourceKey> { @@ -45,17 +43,13 @@ fun registerConfiguredFeatures(context: BootstrapContext ) context.register(ConfiguredFeatures.TRITANIUM_ORE, ConfiguredFeature(Feature.ORE, OreConfiguration(target, 9))) - - // TODO: ЭТО НЕ РУДА context.register(ConfiguredFeatures.BLACK_HOLE, ConfiguredFeature(MWorldGenFeatures.BLACK_HOLE_PLACER, - BlackHolePlacerConfiguration(0.005f, Decimal(2048), Decimal(2048 + 8192)))) + BlackHolePlacerConfiguration(0.001f, Decimal(125_000), Decimal(500_000)))) } private object PlacedFeatures { val NORMAL_TRITANIUM = key("normal_tritanium") val DEEP_TRITANIUM = key("deep_tritanium") - - // TODO: ЭТО НЕ РУДА val BLACK_HOLE = key("black_hole") private fun key(name: String): ResourceKey { @@ -85,8 +79,8 @@ fun registerPlacedFeatures(context: BootstrapContext) { ) )) - // TODO: ЭТО НЕ РУДА val blackHole = configured.getOrThrow(ConfiguredFeatures.BLACK_HOLE) + context.register(PlacedFeatures.BLACK_HOLE, PlacedFeature( blackHole, listOf( @@ -98,8 +92,6 @@ fun registerPlacedFeatures(context: BootstrapContext) { private object BiomeModifiers { val TRITANIUM_ORE = key("tritanium_ore") - - // TODO: ЭТО НЕ РУДА val BLACK_HOLE = key("black_hole") private fun key(name: String): ResourceKey { @@ -123,7 +115,6 @@ fun registerBiomeModifiers(context: BootstrapContext) { ) ) - // TODO: ЭТО НЕ РУДА context.register( BiomeModifiers.BLACK_HOLE, net.neoforged.neoforge.common.world.BiomeModifiers.AddFeaturesBiomeModifier(