Class BiomeParticleConfig

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

public class BiomeParticleConfig extends Object
Mappings:
Namespace Name
official cne
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 Lcne;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 Lcne;b:Lis;
      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 Lcne;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> Lcne;<init>(Lis;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 Lcne;a()Lis;
      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 Lcne;a(Lapo;)Z
      intermediary method_24370 Lnet/minecraft/class_4761;method_24370(Lnet/minecraft/class_5819;)Z
      named shouldAddParticle Lnet/minecraft/world/biome/BiomeParticleConfig;shouldAddParticle(Lnet/minecraft/util/math/random/Random;)Z