Super move
This commit is contained in:
parent
6fea8084df
commit
c5b06e74f0
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue