net.minecraft.world.level.levelgen.placement

public class PlacementContext

extends WorldGenerationContext

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

Field summary

Modifier and TypeField
private final WorldGenLevel
a
level
field_25857
world
private final ChunkGenerator
b
generator
field_35734
generator
private final Optional<PlacedFeature>
c
topFeature
field_35735
placedFeature

Constructor summary

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

Method summary

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