Class NoiseThresholdCountPlacementModifier


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

    • MODIFIER_CODEC

      public static final com.mojang.serialization.Codec<NoiseThresholdCountPlacementModifier> MODIFIER_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldul;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/placementmodifier/NoiseThresholdCountPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
    • noiseLevel

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

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

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

    • NoiseThresholdCountPlacementModifier

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

    • of

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

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

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