Super move

This commit is contained in:
paulevsGitch 2020-12-29 20:46:06 +03:00
parent 6fea8084df
commit c5b06e74f0

View file

@ -25,6 +25,8 @@ public class ParticleJungleSpore extends AnimatedParticle {
@Override @Override
public void tick() { public void tick() {
super.tick();
int ticks = this.age % 30; int ticks = this.age % 30;
if (ticks == 0) { if (ticks == 0) {
this.velocityX = random.nextGaussian() * 0.02; this.velocityX = random.nextGaussian() * 0.02;
@ -50,8 +52,6 @@ public class ParticleJungleSpore extends AnimatedParticle {
this.velocityY -= 0.001F; this.velocityY -= 0.001F;
this.velocityX *= 0.99F; this.velocityX *= 0.99F;
this.velocityZ *= 0.99F; this.velocityZ *= 0.99F;
super.tick();
} }
@Environment(EnvType.CLIENT) @Environment(EnvType.CLIENT)