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