diff --git a/common/build.gradle.kts b/common/build.gradle.kts index a23f554..ca87120 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -18,7 +18,7 @@ dependencies { modCompileOnly("earth.terrarium:botarium-common-$minecraftVersion:${project.properties["botarium_version"]}") //Cobblemon - modCompileOnly("com.cobblemon:mod:${project.properties["cobblemon_version"]}") { isChanging = true } + modCompileOnly("com.cobblemon:mod:${project.properties["cobblemon_version"]}") //BiomeMod Integration modCompileOnly("maven.modrinth:biomesyougo:${project.properties["BYGForge_version"]}") diff --git a/common/src/main/java/generations/gg/generations/structures/generationsstructures/structures/GenerationsStructureSettings.java b/common/src/main/java/generations/gg/generations/structures/generationsstructures/structures/GenerationsStructureSettings.java index a16e4ae..fbdcead 100644 --- a/common/src/main/java/generations/gg/generations/structures/generationsstructures/structures/GenerationsStructureSettings.java +++ b/common/src/main/java/generations/gg/generations/structures/generationsstructures/structures/GenerationsStructureSettings.java @@ -15,6 +15,7 @@ import net.minecraft.world.level.levelgen.VerticalAnchor; import net.minecraft.world.level.levelgen.heightproviders.ConstantHeight; import net.minecraft.world.level.levelgen.heightproviders.HeightProvider; +import net.minecraft.world.level.levelgen.heightproviders.UniformHeight; import net.minecraft.world.level.levelgen.structure.Structure; import net.minecraft.world.level.levelgen.structure.TerrainAdjustment; import net.minecraft.world.level.levelgen.structure.pools.StructureTemplatePool; @@ -41,14 +42,10 @@ private static void registerJigsaw(BootstapContext context, ResourceK context.register(structureResourceKey, structure); } - private static JigsawStructure createJigsaw(Structure.StructureSettings settings, - Holder startPool, - Optional startJigsawName, - int maxDepth, - HeightProvider startHeight, - boolean useExpansionHack, - Optional projectStartToHeightmap, - int maxDistanceToCenter){ + private static JigsawStructure createJigsaw(Structure.StructureSettings settings, Holder startPool, + Optional startJigsawName, int maxDepth, + HeightProvider startHeight, boolean useExpansionHack, + Optional projectStartToHeightmap, int maxDistanceToCenter){ return new JigsawStructure(settings, startPool, startJigsawName, maxDepth, startHeight, useExpansionHack, projectStartToHeightmap, maxDistanceToCenter); } @@ -62,7 +59,7 @@ private static JigsawStructure balloonJigsawStructure(Holder