Class NoiseThresholdCountPlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.RepeatingPlacement
net.minecraft.world.level.levelgen.placement.NoiseThresholdCountPlacement
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
static final com.mojang.serialization.Codec<NoiseThresholdCountPlacement>
private final double
-
Constructor Summary
ModifierConstructorDescriptionprivate
NoiseThresholdCountPlacement
(double p_191753_, int p_191754_, int p_191755_) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
static NoiseThresholdCountPlacement
of
(double p_191757_, int p_191758_, int p_191759_) type()
Methods inherited from class net.minecraft.world.level.levelgen.placement.RepeatingPlacement
getPositions
-
Field Details
-
CODEC
-
noiseLevel
private final double noiseLevel -
belowNoise
private final int belowNoise -
aboveNoise
private final int aboveNoise
-
-
Constructor Details
-
NoiseThresholdCountPlacement
private NoiseThresholdCountPlacement(double p_191753_, int p_191754_, int p_191755_)
-
-
Method Details
-
of
-
count
- Specified by:
count
in classRepeatingPlacement
-
type
- Specified by:
type
in classPlacementModifier
-