Slight tweaks to the wind particle

This commit is contained in:
Sollace 2024-04-23 14:51:33 +01:00
parent 03f4b4004e
commit a1d59b48bf
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB
2 changed files with 1 additions and 1 deletions

View file

@ -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

View file

@ -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());