Class HeightmapPlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.HeightmapPlacement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HeightmapPlacement>
private final Heightmap.Types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(PlacementContext p_191707_, Random p_191708_, BlockPos p_191709_) static HeightmapPlacement
onHeightmap
(Heightmap.Types p_191703_) type()
-
Field Details
-
CODEC
-
heightmap
-
-
Constructor Details
-
HeightmapPlacement
-
-
Method Details
-
onHeightmap
-
getPositions
public Stream<BlockPos> getPositions(PlacementContext p_191707_, Random p_191708_, BlockPos p_191709_) - Specified by:
getPositions
in classPlacementModifier
-
type
- Specified by:
type
in classPlacementModifier
-