Class NoiseBasedCountPlacementModifier
java.lang.Object
net.minecraft.world.gen.placementmodifier.PlacementModifier
net.minecraft.world.gen.placementmodifier.AbstractCountPlacementModifier
net.minecraft.world.gen.placementmodifier.NoiseBasedCountPlacementModifier
- Mappings:
Namespace Name official drc
intermediary net/minecraft/class_3275
named net/minecraft/world/gen/placementmodifier/NoiseBasedCountPlacementModifier
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NoiseBasedCountPlacementModifier>
private final double
private final double
private final int
Fields inherited from class net.minecraft.world.gen.placementmodifier.PlacementModifier
CODEC
-
Constructor Summary
ModifierConstructorDescriptionprivate
NoiseBasedCountPlacementModifier
(int noiseToCountRatio, double noiseFactor, double noiseOffset) -
Method Summary
Methods inherited from class net.minecraft.world.gen.placementmodifier.AbstractCountPlacementModifier
getPositions
-
Field Details
-
MODIFIER_CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldrc;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
Ldrc;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
Ldrc;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
Ldrc;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>
Ldrc;<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
Ldrc;a(IDD)Ldrc;
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
- Specified by:
getCount
in classAbstractCountPlacementModifier
- Mappings:
Namespace Name Mixin selector official a
Ldrl;a(Lapf;Lgu;)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
- Specified by:
getType
in classPlacementModifier
- Mappings:
Namespace Name Mixin selector official b
Ldrh;b()Ldri;
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;
-