это не руда, это ворлдген.
потвикал значения (но шанс наверное всё равно уменьшить надо)
This commit is contained in:
parent
6713adcfe9
commit
0d250dea2f
@ -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<ConfiguredFeature<*, *>> {
|
||||
@ -45,17 +43,13 @@ fun registerConfiguredFeatures(context: BootstrapContext<ConfiguredFeature<*, *>
|
||||
)
|
||||
|
||||
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<PlacedFeature> {
|
||||
@ -85,8 +79,8 @@ fun registerPlacedFeatures(context: BootstrapContext<PlacedFeature>) {
|
||||
)
|
||||
))
|
||||
|
||||
// TODO: ЭТО НЕ РУДА
|
||||
val blackHole = configured.getOrThrow(ConfiguredFeatures.BLACK_HOLE)
|
||||
|
||||
context.register(PlacedFeatures.BLACK_HOLE, PlacedFeature(
|
||||
blackHole,
|
||||
listOf(
|
||||
@ -98,8 +92,6 @@ fun registerPlacedFeatures(context: BootstrapContext<PlacedFeature>) {
|
||||
|
||||
private object BiomeModifiers {
|
||||
val TRITANIUM_ORE = key("tritanium_ore")
|
||||
|
||||
// TODO: ЭТО НЕ РУДА
|
||||
val BLACK_HOLE = key("black_hole")
|
||||
|
||||
private fun key(name: String): ResourceKey<BiomeModifier> {
|
||||
@ -123,7 +115,6 @@ fun registerBiomeModifiers(context: BootstrapContext<BiomeModifier>) {
|
||||
)
|
||||
)
|
||||
|
||||
// TODO: ЭТО НЕ РУДА
|
||||
context.register(
|
||||
BiomeModifiers.BLACK_HOLE,
|
||||
net.neoforged.neoforge.common.world.BiomeModifiers.AddFeaturesBiomeModifier(
|
Loading…
Reference in New Issue
Block a user