Class ListPoolElement
java.lang.Object
net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
net.minecraft.world.level.levelgen.structure.pools.ListPoolElement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ListPoolElement>
private final List<StructurePoolElement>
-
Constructor Summary
ConstructorDescriptionListPoolElement
(List<StructurePoolElement> p_210363_, StructureTemplatePool.Projection p_210364_) -
Method Summary
Modifier and TypeMethodDescriptiongetBoundingBox
(StructureTemplateManager p_227286_, BlockPos p_227287_, Rotation p_227288_) getShuffledJigsawBlocks
(StructureTemplateManager p_227290_, BlockPos p_227291_, Rotation p_227292_, RandomSource p_227293_) getSize
(StructureTemplateManager p_227283_, Rotation p_227284_) getType()
boolean
place
(StructureTemplateManager p_227272_, WorldGenLevel p_227273_, StructureManager p_227274_, ChunkGenerator p_227275_, BlockPos p_227276_, BlockPos p_227277_, Rotation p_227278_, BoundingBox p_227279_, RandomSource p_227280_, boolean p_227281_) setProjection
(StructureTemplatePool.Projection p_210373_) private void
toString()
Methods inherited from class net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
empty, feature, getGroundLevelDelta, getProjection, handleDataMarker, legacy, legacy, list, projectionCodec, single, single
-
Field Details
-
CODEC
-
elements
-
-
Constructor Details
-
ListPoolElement
public ListPoolElement(List<StructurePoolElement> p_210363_, StructureTemplatePool.Projection p_210364_)
-
-
Method Details
-
getSize
- Specified by:
getSize
in classStructurePoolElement
-
getShuffledJigsawBlocks
public List<StructureTemplate.StructureBlockInfo> getShuffledJigsawBlocks(StructureTemplateManager p_227290_, BlockPos p_227291_, Rotation p_227292_, RandomSource p_227293_) - Specified by:
getShuffledJigsawBlocks
in classStructurePoolElement
-
getBoundingBox
public BoundingBox getBoundingBox(StructureTemplateManager p_227286_, BlockPos p_227287_, Rotation p_227288_) - Specified by:
getBoundingBox
in classStructurePoolElement
-
place
public boolean place(StructureTemplateManager p_227272_, WorldGenLevel p_227273_, StructureManager p_227274_, ChunkGenerator p_227275_, BlockPos p_227276_, BlockPos p_227277_, Rotation p_227278_, BoundingBox p_227279_, RandomSource p_227280_, boolean p_227281_) - Specified by:
place
in classStructurePoolElement
-
getType
- Specified by:
getType
in classStructurePoolElement
-
setProjection
- Overrides:
setProjection
in classStructurePoolElement
-
toString
-
setProjectionOnEachElement
-