Class NoiseBasedCountPlacementModifier


public class NoiseBasedCountPlacementModifier extends AbstractCountPlacementModifier
Mappings:
Namespace Name
official ddu
intermediary net/minecraft/class_3275
named net/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier
  • Field Details

    • MODIFIER_CODEC

      public static final com.mojang.serialization.Codec<NoiseBasedCountPlacementModifier> MODIFIER_CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lddu;a:Lcom/mojang/serialization/Codec;
      intermediary field_24987 Lnet/minecraft/class_3275;field_24987:Lcom/mojang/serialization/Codec;
      named MODIFIER_CODEC Lnet/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier;MODIFIER_CODEC:Lcom/mojang/serialization/Codec;
    • noiseToCountRatio

      private final int noiseToCountRatio
      Mappings:
      Namespace Name Mixin selector
      official c Lddu;c:I
      intermediary field_14208 Lnet/minecraft/class_3275;field_14208:I
      named noiseToCountRatio Lnet/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier;noiseToCountRatio:I
    • noiseFactor

      private final double noiseFactor
      Mappings:
      Namespace Name Mixin selector
      official d Lddu;d:D
      intermediary field_14206 Lnet/minecraft/class_3275;field_14206:D
      named noiseFactor Lnet/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier;noiseFactor:D
    • noiseOffset

      private final double noiseOffset
      Mappings:
      Namespace Name Mixin selector
      official e Lddu;e:D
      intermediary field_14205 Lnet/minecraft/class_3275;field_14205:D
      named noiseOffset Lnet/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier;noiseOffset:D
  • Constructor Details

    • NoiseBasedCountPlacementModifier

      private NoiseBasedCountPlacementModifier(int noiseToCountRatio, double noiseFactor, double noiseOffset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lddu;<init>(IDD)V
      intermediary <init> Lnet/minecraft/class_3275;<init>(IDD)V
      named <init> Lnet/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier;<init>(IDD)V
  • Method Details

    • of

      public static NoiseBasedCountPlacementModifier of(int noiseToCountRatio, double noiseFactor, double noiseOffset)
      Mappings:
      Namespace Name Mixin selector
      official a Lddu;a(IDD)Lddu;
      intermediary method_39641 Lnet/minecraft/class_3275;method_39641(IDD)Lnet/minecraft/class_3275;
      named of Lnet/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier;of(IDD)Lnet/minecraft/world/gen/decorator/NoiseBasedCountPlacementModifier;
    • 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;