Class NoiseThresholdCountPlacementModifier


public class NoiseThresholdCountPlacementModifier extends AbstractCountPlacementModifier
Mappings:
Namespace Name
official ddv
intermediary net/minecraft/class_3003
named net/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier
  • Field Details

    • MODIFIER_CODEC

      public static final com.mojang.serialization.Codec<NoiseThresholdCountPlacementModifier> MODIFIER_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a:Lcom/mojang/serialization/Codec;
      intermediary field_24890 Lnet/minecraft/class_3003;field_24890:Lcom/mojang/serialization/Codec;
      named MODIFIER_CODEC Lnet/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
    • noiseLevel

      private final double noiseLevel
      Mappings:
      Namespace Name Mixin selector
      official c Lddv;c:D
      intermediary field_13444 Lnet/minecraft/class_3003;field_13444:D
      named noiseLevel Lnet/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier;noiseLevel:D
    • belowNoise

      private final int belowNoise
      Mappings:
      Namespace Name Mixin selector
      official d Lddv;d:I
      intermediary field_13446 Lnet/minecraft/class_3003;field_13446:I
      named belowNoise Lnet/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier;belowNoise:I
    • aboveNoise

      private final int aboveNoise
      Mappings:
      Namespace Name Mixin selector
      official e Lddv;e:I
      intermediary field_13445 Lnet/minecraft/class_3003;field_13445:I
      named aboveNoise Lnet/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier;aboveNoise:I
  • Constructor Details

    • NoiseThresholdCountPlacementModifier

      private NoiseThresholdCountPlacementModifier(double noiseLevel, int belowNoise, int aboveNoise)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddv;<init>(DII)V
      intermediary <init> Lnet/minecraft/class_3003;<init>(DII)V
      named <init> Lnet/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier;<init>(DII)V
  • Method Details

    • of

      public static NoiseThresholdCountPlacementModifier of(double noiseLevel, int belowNoise, int aboveNoise)
      Mappings:
      Namespace Name Mixin selector
      official a Lddv;a(DII)Lddv;
      intermediary method_39642 Lnet/minecraft/class_3003;method_39642(DII)Lnet/minecraft/class_3003;
      named of Lnet/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier;of(DII)Lnet/minecraft/world/gen/decorator/NoiseThresholdCountPlacementModifier;
    • getCount

      protected int getCount(Random random, BlockPos pos)
      Specified by:
      getCount in class AbstractCountPlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official a Lded;a(Ljava/util/Random;Lgh;)I
      intermediary method_14452 Lnet/minecraft/class_5857;method_14452(Ljava/util/Random;Lnet/minecraft/class_2338;)I
      named getCount Lnet/minecraft/world/gen/decorator/AbstractCountPlacementModifier;getCount(Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;)I
    • getType

      public PlacementModifierType<?> getType()
      Specified by:
      getType in class PlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official b Lddz;b()Ldea;
      intermediary method_39615 Lnet/minecraft/class_6797;method_39615()Lnet/minecraft/class_6798;
      named getType Lnet/minecraft/world/gen/decorator/PlacementModifier;getType()Lnet/minecraft/world/gen/decorator/PlacementModifierType;