/* * Decompiled with CFR 0.152. */ package net.minecraft.client.particle; import net.minecraft.client.multiplayer.ClientLevel; import net.minecraft.client.particle.BaseAshSmokeParticle; import net.minecraft.client.particle.Particle; import net.minecraft.client.particle.ParticleProvider; import net.minecraft.client.particle.SpriteSet; import net.minecraft.core.particles.SimpleParticleType; import net.minecraft.util.RandomSource; public class SmokeParticle extends BaseAshSmokeParticle { protected SmokeParticle(ClientLevel level, double x, double y, double z, double xa, double ya, double za, float scale, SpriteSet sprites) { super(level, x, y, z, 0.1f, 0.1f, 0.1f, xa, ya, za, scale, sprites, 0.3f, 8, -0.1f, true); } public static class Provider implements ParticleProvider { private final SpriteSet sprites; public Provider(SpriteSet sprites) { this.sprites = sprites; } @Override public Particle createParticle(SimpleParticleType options, ClientLevel level, double x, double y, double z, double xAux, double yAux, double zAux, RandomSource random) { return new SmokeParticle(level, x, y, z, xAux, yAux, zAux, 1.0f, this.sprites); } } }