diff --git a/src/main/kotlin/dev/hybridlabs/aquatic/world/gen/feature/VentPatchFeature.kt b/src/main/kotlin/dev/hybridlabs/aquatic/world/gen/feature/VentPatchFeature.kt index 61c275dc..843a0a50 100644 --- a/src/main/kotlin/dev/hybridlabs/aquatic/world/gen/feature/VentPatchFeature.kt +++ b/src/main/kotlin/dev/hybridlabs/aquatic/world/gen/feature/VentPatchFeature.kt @@ -3,15 +3,18 @@ package dev.hybridlabs.aquatic.world.gen.feature import com.mojang.serialization.Codec import dev.hybridlabs.aquatic.block.ThermalVentBlock import dev.hybridlabs.aquatic.block.TubeWormBlock +import dev.hybridlabs.aquatic.entity.HybridAquaticEntityTypes import net.minecraft.block.Block import net.minecraft.block.BlockState import net.minecraft.block.enums.Thickness +import net.minecraft.entity.SpawnReason import net.minecraft.state.property.Properties import net.minecraft.util.math.BlockPos import net.minecraft.util.math.Direction import net.minecraft.util.math.intprovider.IntProvider import net.minecraft.util.math.random.Random import net.minecraft.world.Heightmap +import net.minecraft.world.ServerWorldAccess import net.minecraft.world.WorldAccess import net.minecraft.world.gen.feature.Feature import net.minecraft.world.gen.feature.util.FeatureContext @@ -19,7 +22,7 @@ import net.minecraft.world.gen.stateprovider.BlockStateProvider import kotlin.math.max import kotlin.math.sqrt -@Suppress("NAME_SHADOWING") +@Suppress("NAME_SHADOWING", "SameParameterValue") class VentPatchFeature(codec: Codec) : Feature(codec) { override fun generate(context: FeatureContext): Boolean { var generated = false @@ -47,6 +50,9 @@ class VentPatchFeature(codec: Codec) : Feature) : Feature