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

@ -28,6 +28,7 @@ public class ParticleSulphur extends SpriteBillboardParticle {
this.maxAge = MHelper.randRange(150, 300, random);
this.scale = MHelper.randRange(0.05F, 0.15F, random);
this.setColor(1, 1, 1);
this.setColorAlpha(0);
preVX = random.nextGaussian() * 0.015;

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);