public class BiomeParticleConfig extends Object
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<BiomeParticleConfig> |
CODEC |
private ParticleEffect |
particle |
private float |
probability |
Constructor and Description |
---|
BiomeParticleConfig(ParticleEffect particle,
float probability) |
Modifier and Type | Method and Description |
---|---|
ParticleEffect |
getParticle() |
boolean |
shouldAddParticle(Random random) |
public static final com.mojang.serialization.Codec<BiomeParticleConfig> CODEC
private final ParticleEffect particle
private final float probability
public BiomeParticleConfig(ParticleEffect particle, float probability)
@Environment(value=CLIENT) public ParticleEffect getParticle()
@Environment(value=CLIENT) public boolean shouldAddParticle(Random random)