Class FeaturePlaceContext<FC extends FeatureConfiguration>
java.lang.Object
net.minecraft.world.level.levelgen.feature.FeaturePlaceContext<FC>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ChunkGenerator
private final FC
private final WorldGenLevel
private final BlockPos
private final RandomSource
private final Optional
<ConfiguredFeature<?, ?>> -
Constructor Summary
ConstructorsConstructorDescriptionFeaturePlaceContext
(Optional<ConfiguredFeature<?, ?>> topFeature, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin, FC config) -
Method Summary
-
Field Details
-
topFeature
-
level
-
chunkGenerator
-
random
-
origin
-
config
-
-
Constructor Details
-
FeaturePlaceContext
public FeaturePlaceContext(Optional<ConfiguredFeature<?, ?>> topFeature, WorldGenLevel level, ChunkGenerator chunkGenerator, RandomSource random, BlockPos origin, FC config)
-
-
Method Details
-
topFeature
-
level
-
chunkGenerator
-
random
-
origin
-
config
-