Class PlacementContext
java.lang.Object
net.minecraft.world.level.levelgen.WorldGenerationContext
net.minecraft.world.level.levelgen.placement.PlacementContext
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ChunkGeneratorprivate final WorldGenLevelprivate final Optional<PlacedFeature>
- 
Constructor SummaryConstructorsConstructorDescriptionPlacementContext(WorldGenLevel p_191818_, ChunkGenerator p_191819_, Optional<PlacedFeature> p_191820_) 
- 
Method SummaryModifier 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.WorldGenerationContextgetGenDepth, getMinGenY
- 
Field Details- 
level
- 
generator
- 
topFeature
 
- 
- 
Constructor Details- 
PlacementContextpublic PlacementContext(WorldGenLevel p_191818_, ChunkGenerator p_191819_, Optional<PlacedFeature> p_191820_) 
 
- 
- 
Method Details- 
getHeight
- 
getCarvingMask
- 
getBlockState
- 
getMinBuildHeightpublic int getMinBuildHeight()
- 
getLevel
- 
topFeature
- 
generator
 
-