Class FeaturePoolElement
java.lang.Object
net.minecraft.world.level.levelgen.feature.structures.StructurePoolElement
net.minecraft.world.level.levelgen.feature.structures.FeaturePoolElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<FeaturePoolElement>private CompoundTagprivate Supplier<ConfiguredFeature<?,?>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFeaturePoolElement(Supplier<ConfiguredFeature<?,?>> p_68887_, StructureTemplatePool.Projection p_68888_) -
Method Summary
Modifier and TypeMethodDescriptionprivate CompoundTaggetBoundingBox(StructureManager p_68909_, BlockPos p_68910_, Rotation p_68911_)getShuffledJigsawBlocks(StructureManager p_68913_, BlockPos p_68914_, Rotation p_68915_, Random p_68916_)getSize(StructureManager p_161607_, Rotation p_161608_)getType()booleanplace(StructureManager p_68895_, WorldGenLevel p_68896_, StructureFeatureManager p_68897_, ChunkGenerator p_68898_, BlockPos p_68899_, BlockPos p_68900_, Rotation p_68901_, BoundingBox p_68902_, Random p_68903_, boolean p_68904_)toString()Methods inherited from class net.minecraft.world.level.levelgen.feature.structures.StructurePoolElement
empty, feature, getGroundLevelDelta, getProjection, handleDataMarker, legacy, legacy, list, projectionCodec, setProjection, single, single
-
Field Details
-
CODEC
-
feature
-
defaultJigsawNBT
-
-
Constructor Details
-
FeaturePoolElement
protected FeaturePoolElement(Supplier<ConfiguredFeature<?,?>> p_68887_, StructureTemplatePool.Projection p_68888_)
-
-
Method Details
-
fillDefaultJigsawNBT
-
getSize
- Specified by:
getSizein classStructurePoolElement
-
getShuffledJigsawBlocks
public List<StructureTemplate.StructureBlockInfo> getShuffledJigsawBlocks(StructureManager p_68913_, BlockPos p_68914_, Rotation p_68915_, Random p_68916_)- Specified by:
getShuffledJigsawBlocksin classStructurePoolElement
-
getBoundingBox
- Specified by:
getBoundingBoxin classStructurePoolElement
-
place
public boolean place(StructureManager p_68895_, WorldGenLevel p_68896_, StructureFeatureManager p_68897_, ChunkGenerator p_68898_, BlockPos p_68899_, BlockPos p_68900_, Rotation p_68901_, BoundingBox p_68902_, Random p_68903_, boolean p_68904_)- Specified by:
placein classStructurePoolElement
-
getType
- Specified by:
getTypein classStructurePoolElement
-
toString
-