Package net.minecraft.world.biome
Class BiomeParticleConfig
java.lang.Object
net.minecraft.world.biome.BiomeParticleConfig
public class BiomeParticleConfig extends Object
- Mappings:
Namespace Name official but
intermediary net/minecraft/class_4761
named net/minecraft/world/biome/BiomeParticleConfig
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BiomeParticleConfig>
CODEC
private ParticleEffect
particle
private float
probability
-
Constructor Summary
Constructors Constructor Description BiomeParticleConfig(ParticleEffect particle, float probability)
-
Method Summary
Modifier and Type Method Description ParticleEffect
getParticle()
boolean
shouldAddParticle(Random random)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lbut;a:Lcom/mojang/serialization/Codec;
intermediary field_24675
Lnet/minecraft/class_4761;field_24675:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/biome/BiomeParticleConfig;CODEC:Lcom/mojang/serialization/Codec;
-
particle
- Mappings:
Namespace Name Mixin selector official b
Lbut;b:Lhj;
intermediary field_24676
Lnet/minecraft/class_4761;field_24676:Lnet/minecraft/class_2394;
named particle
Lnet/minecraft/world/biome/BiomeParticleConfig;particle:Lnet/minecraft/particle/ParticleEffect;
-
probability
private final float probability- Mappings:
Namespace Name Mixin selector official c
Lbut;c:F
intermediary field_22035
Lnet/minecraft/class_4761;field_22035:F
named probability
Lnet/minecraft/world/biome/BiomeParticleConfig;probability:F
-
-
Constructor Details
-
BiomeParticleConfig
- Mappings:
Namespace Name Mixin selector official <init>
Lbut;<init>(Lhj;F)V
intermediary <init>
Lnet/minecraft/class_4761;<init>(Lnet/minecraft/class_2394;F)V
named <init>
Lnet/minecraft/world/biome/BiomeParticleConfig;<init>(Lnet/minecraft/particle/ParticleEffect;F)V
-
-
Method Details
-
getParticle
- Mappings:
Namespace Name Mixin selector official a
Lbut;a()Lhj;
intermediary method_24369
Lnet/minecraft/class_4761;method_24369()Lnet/minecraft/class_2394;
named getParticle
Lnet/minecraft/world/biome/BiomeParticleConfig;getParticle()Lnet/minecraft/particle/ParticleEffect;
-
shouldAddParticle
- Mappings:
Namespace Name Mixin selector official a
Lbut;a(Ljava/util/Random;)Z
intermediary method_24370
Lnet/minecraft/class_4761;method_24370(Ljava/util/Random;)Z
named shouldAddParticle
Lnet/minecraft/world/biome/BiomeParticleConfig;shouldAddParticle(Ljava/util/Random;)Z
-