From 0448cd8c30cf00f499a8a4efa637b8f7dada1028 Mon Sep 17 00:00:00 2001 From: Elenterius Date: Fri, 29 Dec 2023 02:05:57 +0100 Subject: [PATCH] feat(flesh-mound): make mounds slightly smaller --- .../elenterius/biomancy/world/mound/MoundGenerator.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/github/elenterius/biomancy/world/mound/MoundGenerator.java b/src/main/java/com/github/elenterius/biomancy/world/mound/MoundGenerator.java index e79c83836..28b6da001 100644 --- a/src/main/java/com/github/elenterius/biomancy/world/mound/MoundGenerator.java +++ b/src/main/java/com/github/elenterius/biomancy/world/mound/MoundGenerator.java @@ -25,9 +25,9 @@ public static MoundShape constructShape(Level level, BlockPos blockOrigin, long Biome biome = level.getBiome(blockOrigin).get(); MoundShape.ProcGenValues procGenValues = new MoundShape.ProcGenValues( seed, + (byte) -25, (byte) 0, - (byte) 0, - (byte) 4, + (byte) 2, level.getMaxBuildHeight(), level.getSeaLevel(), TemperatureUtil.getTemperature(biome, blockOrigin), @@ -42,7 +42,7 @@ private static MoundShape genShape(BlockPos blockOrigin, MoundShape.ProcGenValue ctx.random = RandomSource.create(procGenValues.seed()); Vec3 origin = Vec3.atCenterOf(blockOrigin); - float radius = 8 * (1 + Mth.clamp(procGenValues.radiusMultiplier(), -0.5f, 1.5f)); + float radius = 8f * (1 + Mth.clamp(procGenValues.radiusMultiplier(), -0.5f, 1.5f)); ///////////////////////////////////////////////// @@ -58,7 +58,7 @@ private static MoundShape genShape(BlockPos blockOrigin, MoundShape.ProcGenValue ctx.slantMultiplier = 0.1f + ctx.random.nextFloat() + heatMultiplier * 2f; ctx.relativeWallThickness = Mth.clamp((1 - heatMultiplier) * 32, 2.25f, 32); - ctx.minMoundRadius = 3 + erosionMultiplier * 3; + ctx.minMoundRadius = 3 + erosionMultiplier * 2.5f; ctx.baseMoundRadius = radius + (radius / 2) * erosionMultiplierInv; ctx.maxMoundRadius = ctx.minMoundRadius + ctx.baseMoundRadius;