/* * 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 WhiteSmokeParticle extends BaseAshSmokeParticle { private static final int COLOR_RGB24 = 12235202; protected WhiteSmokeParticle(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); this.rCol = 0.7294118f; this.gCol = 0.69411767f; this.bCol = 0.7607843f; } 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 WhiteSmokeParticle(level, x, y, z, xAux, yAux, zAux, 1.0f, this.sprites); } } }