Class NoiseBasedCountPlacementModifier


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

    • MODIFIER_CODEC

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

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

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

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

    • NoiseBasedCountPlacementModifier

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

    • of

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