Package net.minecraft.structure.pool
Class ListPoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.structure.pool.ListPoolElement
public class ListPoolElement extends StructurePoolElement
-
Field Summary
Fields Modifier and Type Field Description private List<StructurePoolElement>elementsstatic com.mojang.serialization.Codec<ListPoolElement>field_24950 -
Constructor Summary
Constructors Constructor Description ListPoolElement(List<StructurePoolElement> list)Deprecated.ListPoolElement(List<StructurePoolElement> list, StructurePool.Projection projection) -
Method Summary
Modifier and Type Method Description booleangenerate(StructureManager structureManager, ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos blockPos, BlockPos blockPos2, BlockRotation blockRotation, BlockBox blockBox, Random random, boolean keepJigsaws)BlockBoxgetBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)List<Structure.StructureBlockInfo>getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)StructurePoolElementType<?>getType()private voidsetAllElementsProjection(StructurePool.Projection projection)StructurePoolElementsetProjection(StructurePool.Projection projection)StringtoString()Methods inherited from class net.minecraft.structure.pool.StructurePoolElement
getGroundLevelDelta, getProjection, method_16756, method_28883
-
Field Details
-
Constructor Details
-
ListPoolElement
Deprecated. -
ListPoolElement
-
-
Method Details
-
getStructureBlockInfos
public List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)- Specified by:
getStructureBlockInfosin classStructurePoolElement
-
getBoundingBox
public BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)- Specified by:
getBoundingBoxin classStructurePoolElement
-
generate
public boolean generate(StructureManager structureManager, ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos blockPos, BlockPos blockPos2, BlockRotation blockRotation, BlockBox blockBox, Random random, boolean keepJigsaws)- Specified by:
generatein classStructurePoolElement
-
getType
- Specified by:
getTypein classStructurePoolElement
-
setProjection
- Overrides:
setProjectionin classStructurePoolElement
-
toString
-
setAllElementsProjection
-