类 HeightRangePlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.HeightRangePlacement
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.MapCodec
<HeightRangePlacement> private final HeightProvider
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getPositions
(PlacementContext p_226340_, RandomSource p_226341_, BlockPos p_226342_) static HeightRangePlacement
of
(HeightProvider p_191684_) static HeightRangePlacement
triangle
(VerticalAnchor p_191693_, VerticalAnchor p_191694_) type()
static HeightRangePlacement
uniform
(VerticalAnchor p_191681_, VerticalAnchor p_191682_)
-
字段详细资料
-
CODEC
-
height
-
-
构造器详细资料
-
HeightRangePlacement
-
-
方法详细资料
-
of
-
uniform
-
triangle
-
getPositions
public Stream<BlockPos> getPositions(PlacementContext p_226340_, RandomSource p_226341_, BlockPos p_226342_) - 指定者:
getPositions
在类中PlacementModifier
-
type
- 指定者:
type
在类中PlacementModifier
-