Small fixes

This commit is contained in:
paulevsGitch 2020-12-11 02:11:43 +03:00
parent 19c7b37582
commit fc8ae7923d
2 changed files with 2 additions and 1 deletions

View file

@ -25,7 +25,7 @@ public class IceStarFeature extends DefaultFeature {
@Override
public boolean generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos, DefaultFeatureConfig config) {
float size = MHelper.randRange(5F, 15F, random);
int count = MHelper.randRange(7, 25, random);
int count = MHelper.randRange(10, 25, random);
List<Vector3f> points = getFibonacciPoints(count);
SDF sdf = null;
SDF spike = new SDFCapedCone().setRadius1(3 + (size - 5) * 0.2F).setRadius2(0).setHeight(size).setBlock(Blocks.ICE);