Class CountConfig

java.lang.Object
net.minecraft.world.gen.CountConfig
All Implemented Interfaces:
DecoratorConfig, FeatureConfig

public class CountConfig
extends Object
implements DecoratorConfig, FeatureConfig
Mappings:
Namespace Name
official crd
intermediary net/minecraft/class_2984
named net/minecraft/world/gen/CountConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<CountConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcrd;a:Lcom/mojang/serialization/Codec;
      intermediary field_24878 Lnet/minecraft/class_2984;field_24878:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/CountConfig;CODEC:Lcom/mojang/serialization/Codec;
    • count

      private final UniformIntDistribution count
      Mappings:
      Namespace Name Mixin selector
      official c Lcrd;c:Lago;
      intermediary field_13385 Lnet/minecraft/class_2984;field_13385:Lnet/minecraft/class_5428;
      named count Lnet/minecraft/world/gen/CountConfig;count:Lnet/minecraft/world/gen/UniformIntDistribution;
  • Constructor Details

    • CountConfig

      public CountConfig​(int count)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcrd;<init>(I)V
      intermediary <init> Lnet/minecraft/class_2984;<init>(I)V
      named <init> Lnet/minecraft/world/gen/CountConfig;<init>(I)V
    • CountConfig

      public CountConfig​(UniformIntDistribution distribution)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcrd;<init>(Lago;)V
      intermediary <init> Lnet/minecraft/class_2984;<init>(Lnet/minecraft/class_5428;)V
      named <init> Lnet/minecraft/world/gen/CountConfig;<init>(Lnet/minecraft/world/gen/UniformIntDistribution;)V
  • Method Details

    • getCount

      public UniformIntDistribution getCount()
      Mappings:
      Namespace Name Mixin selector
      official a Lcrd;a()Lago;
      intermediary method_30396 Lnet/minecraft/class_2984;method_30396()Lnet/minecraft/class_5428;
      named getCount Lnet/minecraft/world/gen/CountConfig;getCount()Lnet/minecraft/world/gen/UniformIntDistribution;