Class NoiseThresholdCountPlacementModifier


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

    • MODIFIER_CODEC

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

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

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

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

    • NoiseThresholdCountPlacementModifier

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

    • of

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

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

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