Class BiomeParticleConfig

java.lang.Object
net.minecraft.world.biome.BiomeParticleConfig

public class BiomeParticleConfig extends Object
Mappings:
Namespace Name
official cay
intermediary net/minecraft/class_4761
named net/minecraft/world/biome/BiomeParticleConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<BiomeParticleConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcay;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

      private final ParticleEffect particle
      Mappings:
      Namespace Name Mixin selector
      official b Lcay;b:Lhv;
      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 Lcay;c:F
      intermediary field_22035 Lnet/minecraft/class_4761;field_22035:F
      named probability Lnet/minecraft/world/biome/BiomeParticleConfig;probability:F
  • Constructor Details

    • BiomeParticleConfig

      public BiomeParticleConfig(ParticleEffect particle, float probability)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcay;<init>(Lhv;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

      public ParticleEffect getParticle()
      Mappings:
      Namespace Name Mixin selector
      official a Lcay;a()Lhv;
      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

      public boolean shouldAddParticle(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lcay;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