Class PlacementContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.placement.PlacementContext
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkGeneratorprivate final WorldGenLevelprivate final Optional<PlacedFeature> - 
Constructor Summary
ConstructorsConstructorDescriptionPlacementContext(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_) intgetHeight(Heightmap.Types p_191825_, int p_191826_, int p_191827_) getLevel()intMethods 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
 
 -