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
(StructureManager p_210392_, BlockPos p_210393_, Rotation p_210394_) getShuffledJigsawBlocks
(StructureManager p_210401_, BlockPos p_210402_, Rotation p_210403_, Random p_210404_) getSize
(StructureManager p_210389_, Rotation p_210390_) getType()
boolean
place
(StructureManager p_210378_, WorldGenLevel p_210379_, StructureFeatureManager p_210380_, ChunkGenerator p_210381_, BlockPos p_210382_, BlockPos p_210383_, Rotation p_210384_, BoundingBox p_210385_, Random p_210386_, boolean p_210387_) 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(StructureManager p_210401_, BlockPos p_210402_, Rotation p_210403_, Random p_210404_) - Specified by:
getShuffledJigsawBlocks
in classStructurePoolElement
-
getBoundingBox
public BoundingBox getBoundingBox(StructureManager p_210392_, BlockPos p_210393_, Rotation p_210394_) - Specified by:
getBoundingBox
in classStructurePoolElement
-
place
public boolean place(StructureManager p_210378_, WorldGenLevel p_210379_, StructureFeatureManager p_210380_, ChunkGenerator p_210381_, BlockPos p_210382_, BlockPos p_210383_, Rotation p_210384_, BoundingBox p_210385_, Random p_210386_, boolean p_210387_) - Specified by:
place
in classStructurePoolElement
-
getType
- Specified by:
getType
in classStructurePoolElement
-
setProjection
- Overrides:
setProjection
in classStructurePoolElement
-
toString
-
setProjectionOnEachElement
-