net.minecraft.world.gen.feature

public class FeaturePlacementContext

extends HeightContext

net.minecraft.world.level.levelgen.placement.PlacementContext
net.minecraft.class_5444
net.minecraft.world.gen.feature.FeaturePlacementContext

Field summary

Modifier and TypeField
private final StructureWorldAccess
level
field_25857
world
private final ChunkGenerator
generator
field_35734
generator
private final Optional<PlacedFeature>
topFeature
field_35735
placedFeature

Constructor summary

ModifierConstructor
public (StructureWorldAccess world, ChunkGenerator generator, Optional<PlacedFeature> placedFeature)

Method summary

Modifier and TypeMethod
public int
getHeight(Heightmap$Types type, int x, int z)
method_30460(class_2902$class_2903 arg0, int arg1, int arg2)
getTopY(Heightmap$Type heightmap, int x, int z)
public CarvingMask
getCarvingMask(ChunkPos pos)
method_30459(class_1923 arg0)
getOrCreateCarvingMask(ChunkPos chunkPos)
public BlockState
getBlockState(BlockPos pos)
method_30461(class_2338 arg0)
getBlockState(BlockPos pos)
public int
getMinY()
method_33868()
getBottomY()
public StructureWorldAccess
getLevel()
method_34383()
getWorld()
public Optional<PlacedFeature>
topFeature()
method_39652()
getPlacedFeature()
public ChunkGenerator
generator()
method_39653()
getChunkGenerator()