Class BiomeParticleConfig

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

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

    • CODEC

      public static final com.mojang.serialization.Codec<BiomeParticleConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/biome/BiomeParticleConfig;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_24675 Lnet/minecraft/class_4761;field_24675:Lcom/mojang/serialization/Codec;
      official a Lddv;a:Lcom/mojang/serialization/Codec;
    • particle

      private final ParticleEffect particle
      Mappings:
      Namespace Name Mixin selector
      named particle Lnet/minecraft/world/biome/BiomeParticleConfig;particle:Lnet/minecraft/particle/ParticleEffect;
      intermediary field_24676 Lnet/minecraft/class_4761;field_24676:Lnet/minecraft/class_2394;
      official b Lddv;b:Llk;
    • probability

      private final float probability
      Mappings:
      Namespace Name Mixin selector
      named probability Lnet/minecraft/world/biome/BiomeParticleConfig;probability:F
      intermediary field_22035 Lnet/minecraft/class_4761;field_22035:F
      official c Lddv;c:F
  • Constructor Details

    • BiomeParticleConfig

      public BiomeParticleConfig(ParticleEffect particle, float probability)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/biome/BiomeParticleConfig;<init>(Lnet/minecraft/particle/ParticleEffect;F)V
      intermediary <init> Lnet/minecraft/class_4761;<init>(Lnet/minecraft/class_2394;F)V
      official <init> Lddv;<init>(Llk;F)V
  • Method Details

    • getParticle

      public ParticleEffect getParticle()
      Mappings:
      Namespace Name Mixin selector
      named getParticle Lnet/minecraft/world/biome/BiomeParticleConfig;getParticle()Lnet/minecraft/particle/ParticleEffect;
      intermediary method_24369 Lnet/minecraft/class_4761;method_24369()Lnet/minecraft/class_2394;
      official a Lddv;a()Llk;
    • shouldAddParticle

      public boolean shouldAddParticle(Random random)
      Mappings:
      Namespace Name Mixin selector
      named shouldAddParticle Lnet/minecraft/world/biome/BiomeParticleConfig;shouldAddParticle(Lnet/minecraft/util/math/random/Random;)Z
      intermediary method_24370 Lnet/minecraft/class_4761;method_24370(Lnet/minecraft/class_5819;)Z
      official a Lddv;a(Layw;)Z