类 NoiseBasedCountPlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.RepeatingPlacement
net.minecraft.world.level.levelgen.placement.NoiseBasedCountPlacement
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<NoiseBasedCountPlacement> private final double
private final double
private final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected int
count
(RandomSource p_226352_, BlockPos p_226353_) static NoiseBasedCountPlacement
of
(int p_191732_, double p_191733_, double p_191734_) type()
从类继承的方法 net.minecraft.world.level.levelgen.placement.RepeatingPlacement
getPositions
-
字段详细资料
-
CODEC
-
noiseToCountRatio
private final int noiseToCountRatio -
noiseFactor
private final double noiseFactor -
noiseOffset
private final double noiseOffset
-
-
构造器详细资料
-
NoiseBasedCountPlacement
private NoiseBasedCountPlacement(int p_191728_, double p_191729_, double p_191730_)
-
-
方法详细资料
-
of
-
count
- 指定者:
count
在类中RepeatingPlacement
-
type
- 指定者:
type
在类中PlacementModifier
-