Class PlacementContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.placement.PlacementContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ChunkGenerator
private final WorldGenLevel
private final Optional
<PlacedFeature> -
Constructor Summary
ConstructorDescriptionPlacementContext
(WorldGenLevel p_191818_, ChunkGenerator p_191819_, Optional<PlacedFeature> p_191820_) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockState
(BlockPos p_191829_) getCarvingMask
(ChunkPos p_191822_, GenerationStep.Carving p_191823_) int
getHeight
(Heightmap.Types p_191825_, int p_191826_, int p_191827_) getLevel()
int
Methods inherited from class net.minecraft.world.level.levelgen.WorldGenerationContext
getGenDepth, getMinGenY
-
Field Details
-
level
-
generator
-
topFeature
-
-
Constructor Details
-
PlacementContext
public PlacementContext(WorldGenLevel p_191818_, ChunkGenerator p_191819_, Optional<PlacedFeature> p_191820_)
-
-
Method Details
-
getHeight
-
getCarvingMask
-
getBlockState
-
getMinBuildHeight
public int getMinBuildHeight() -
getLevel
-
topFeature
-
generator
-