Class NoiseBasedCountPlacementModifier


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

    • MODIFIER_CODEC

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

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

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

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

    • NoiseBasedCountPlacementModifier

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

    • of

      public static NoiseBasedCountPlacementModifier of(int noiseToCountRatio, double noiseFactor, double noiseOffset)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjg;a(IDD)Ldjg;
      intermediary method_39641 Lnet/minecraft/class_3275;method_39641(IDD)Lnet/minecraft/class_3275;
      named of Lnet/minecraft/world/gen/placementmodifier/NoiseBasedCountPlacementModifier;of(IDD)Lnet/minecraft/world/gen/placementmodifier/NoiseBasedCountPlacementModifier;
    • getCount

      protected int getCount(Random random, BlockPos pos)
      Specified by:
      getCount in class AbstractCountPlacementModifier
      Mappings:
      Namespace Name Mixin selector
      official a Ldjp;a(Lalu;Lgt;)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 Ldjl;b()Ldjm;
      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;