net.minecraft.world.level.levelgen.placement

public class PlacementContext

extends WorldGenerationContext

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
a(dar$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)
m_191824_(C_2190_$C_2191_ p_191826_, int p_191827_, int arg2)
public CarvingMask
a(cge arg0, dan$a arg1)
getCarvingMask(ChunkPos arg0, GenerationStep$Carving arg1)
method_30459(class_1923 arg0, class_2893$class_2894 arg1)
getOrCreateCarvingMask(ChunkPos chunkPos, GenerationStep$Carver carver)
m_191821_(C_1560_ p_191823_, C_2187_$C_2188_ arg1)
public BlockState
a(gt arg0)
getBlockState(BlockPos arg0)
method_30461(class_2338 arg0)
getBlockState(BlockPos pos)
m_191828_(C_4675_ arg0)
public int
c()
getMinBuildHeight()
method_33868()
getBottomY()
m_191830_()
public WorldGenLevel
d()
getLevel()
method_34383()
getWorld()
m_191831_()
public Optional<PlacedFeature>
e()
topFeature()
method_39652()
getPlacedFeature()
m_191832_()
public ChunkGenerator
f()
generator()
method_39653()
getChunkGenerator()
m_191833_()