Class HeightRangePlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.HeightRangePlacement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HeightRangePlacement>
private final HeightProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(PlacementContext p_191688_, Random p_191689_, BlockPos p_191690_) 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_)
-
Field Details
-
CODEC
-
height
-
-
Constructor Details
-
HeightRangePlacement
-
-
Method Details
-
of
-
uniform
-
triangle
-
getPositions
public Stream<BlockPos> getPositions(PlacementContext p_191688_, Random p_191689_, BlockPos p_191690_) - Specified by:
getPositions
in classPlacementModifier
-
type
- Specified by:
type
in classPlacementModifier
-