Particle fixes
This commit is contained in:
parent
b8229d8c91
commit
6fea8084df
2 changed files with 7 additions and 1 deletions
|
@ -37,9 +37,15 @@ public class ParticleJungleSpore extends AnimatedParticle {
|
||||||
float delta = ticks / 30F;
|
float delta = ticks / 30F;
|
||||||
this.setColorAlpha(delta);
|
this.setColorAlpha(delta);
|
||||||
}
|
}
|
||||||
|
else if (this.age >= this.maxAge) {
|
||||||
|
this.setColorAlpha(0);
|
||||||
|
}
|
||||||
else if (this.age >= this.maxAge - 30) {
|
else if (this.age >= this.maxAge - 30) {
|
||||||
this.setColorAlpha((this.maxAge - this.age) / 30F);
|
this.setColorAlpha((this.maxAge - this.age) / 30F);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
this.setColorAlpha(1);
|
||||||
|
}
|
||||||
|
|
||||||
this.velocityY -= 0.001F;
|
this.velocityY -= 0.001F;
|
||||||
this.velocityX *= 0.99F;
|
this.velocityX *= 0.99F;
|
||||||
|
|
|
@ -13,7 +13,7 @@ public class BiomeUmbrellaJungle extends EndBiome {
|
||||||
.setWaterAndFogColor(119, 198, 253)
|
.setWaterAndFogColor(119, 198, 253)
|
||||||
.setFoliageColor(27, 183, 194)
|
.setFoliageColor(27, 183, 194)
|
||||||
.setFogDensity(2.3F)
|
.setFogDensity(2.3F)
|
||||||
.setParticles(EndParticles.JUNGLE_SPORE, 0.0005F)
|
.setParticles(EndParticles.JUNGLE_SPORE, 0.001F)
|
||||||
.setMusic(EndSounds.MUSIC_FOREST)
|
.setMusic(EndSounds.MUSIC_FOREST)
|
||||||
.setSurface(EndBlocks.JUNGLE_MOSS)
|
.setSurface(EndBlocks.JUNGLE_MOSS)
|
||||||
.addFeature(EndFeatures.END_LAKE)
|
.addFeature(EndFeatures.END_LAKE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue