mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Slight tweaks to the wind particle
This commit is contained in:
parent
03f4b4004e
commit
a1d59b48bf
2 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,6 @@ public class SpiralParticle extends NoRenderParticle {
|
|||
this.collidesWithWorld = false;
|
||||
this.particle = MinecraftClient.getInstance().particleManager.addParticle(parameters.effect(), x, y, z, velocityX, velocityY, velocityZ);
|
||||
this.particle.setMaxAge(1000);
|
||||
this.gravityStrength = 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -40,6 +40,7 @@ public class WindParticle extends AbstractBillboardParticle {
|
|||
this.velocityZ = velocityZ;
|
||||
this.attachmentTicks = (int)world.random.nextTriangular(15, 12);
|
||||
this.passive = effect.getTargetId() <= 0;
|
||||
this.collidesWithWorld = false;
|
||||
|
||||
if (effect.getTargetId() > 0) {
|
||||
this.target = world.getEntityById(effect.getTargetId());
|
||||
|
|
Loading…
Reference in a new issue