From a956d9a34f089f22c6f944c05e9637a3cc007cf3 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Mon, 31 Mar 2025 09:32:32 +0700 Subject: [PATCH] Move feature to world subpackage --- src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt | 2 +- .../ru/dbotthepony/mc/otm/registry/data/MWorldGenFeatures.kt | 2 +- .../mc/otm/server/{ => world}/feature/BlackHolePlacer.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/main/kotlin/ru/dbotthepony/mc/otm/server/{ => world}/feature/BlackHolePlacer.kt (96%) diff --git a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt index f3acfdf65..559c48235 100644 --- a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt +++ b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/WorldGen.kt @@ -29,7 +29,7 @@ import ru.dbotthepony.mc.otm.data.world.EllipsoidPlacement import ru.dbotthepony.mc.otm.data.world.StandardDeviationHeightProvider import ru.dbotthepony.mc.otm.registry.game.MBlocks import ru.dbotthepony.mc.otm.registry.data.MWorldGenFeatures -import ru.dbotthepony.mc.otm.server.feature.BlackHolePlacerFeature +import ru.dbotthepony.mc.otm.server.world.feature.BlackHolePlacerFeature private object ConfiguredFeatures { val TRITANIUM_ORE = key("tritanium_ore") diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/data/MWorldGenFeatures.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/data/MWorldGenFeatures.kt index 570b083d2..e41c5f59a 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/data/MWorldGenFeatures.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/data/MWorldGenFeatures.kt @@ -3,7 +3,7 @@ package ru.dbotthepony.mc.otm.registry.data import net.minecraft.core.registries.BuiltInRegistries import net.neoforged.bus.api.IEventBus import ru.dbotthepony.mc.otm.registry.MDeferredRegister -import ru.dbotthepony.mc.otm.server.feature.BlackHolePlacerFeature +import ru.dbotthepony.mc.otm.server.world.feature.BlackHolePlacerFeature object MWorldGenFeatures { private val registry = MDeferredRegister(BuiltInRegistries.FEATURE) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/server/feature/BlackHolePlacer.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/server/world/feature/BlackHolePlacer.kt similarity index 96% rename from src/main/kotlin/ru/dbotthepony/mc/otm/server/feature/BlackHolePlacer.kt rename to src/main/kotlin/ru/dbotthepony/mc/otm/server/world/feature/BlackHolePlacer.kt index bb06edb80..a3dcb0af6 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/server/feature/BlackHolePlacer.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/server/world/feature/BlackHolePlacer.kt @@ -1,4 +1,4 @@ -package ru.dbotthepony.mc.otm.server.feature +package ru.dbotthepony.mc.otm.server.world.feature import com.mojang.serialization.codecs.RecordCodecBuilder import net.minecraft.world.level.levelgen.feature.Feature