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.MapCodec
<HeightmapPlacement> private final Heightmap.Types
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(PlacementContext p_226344_, RandomSource p_226345_, BlockPos p_226346_) 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_226344_, RandomSource p_226345_, BlockPos p_226346_) - Specified by:
getPositions
in classPlacementModifier
-
type
- Specified by:
type
in classPlacementModifier
-