Particle fixes

This commit is contained in:
paulevsGitch 2020-12-29 20:45:39 +03:00
parent b8229d8c91
commit 6fea8084df
2 changed files with 7 additions and 1 deletions

View file

@ -37,9 +37,15 @@ public class ParticleJungleSpore extends AnimatedParticle {
float delta = ticks / 30F;
this.setColorAlpha(delta);
}
else if (this.age >= this.maxAge) {
this.setColorAlpha(0);
}
else if (this.age >= this.maxAge - 30) {
this.setColorAlpha((this.maxAge - this.age) / 30F);
}
else {
this.setColorAlpha(1);
}
this.velocityY -= 0.001F;
this.velocityX *= 0.99F;

View file

@ -13,7 +13,7 @@ public class BiomeUmbrellaJungle extends EndBiome {
.setWaterAndFogColor(119, 198, 253)
.setFoliageColor(27, 183, 194)
.setFogDensity(2.3F)
.setParticles(EndParticles.JUNGLE_SPORE, 0.0005F)
.setParticles(EndParticles.JUNGLE_SPORE, 0.001F)
.setMusic(EndSounds.MUSIC_FOREST)
.setSurface(EndBlocks.JUNGLE_MOSS)
.addFeature(EndFeatures.END_LAKE)