Package net.minecraft.structure.pool
Class StructurePoolElement
java.lang.Object
net.minecraft.structure.pool.StructurePoolElement
- Direct Known Subclasses:
EmptyPoolElement,FeaturePoolElement,ListPoolElement,SinglePoolElement
public abstract class StructurePoolElement extends Object
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<StructurePoolElement>field_24953private StructurePool.Projectionprojection -
Constructor Summary
Constructors Modifier Constructor Description protectedStructurePoolElement(StructurePool.Projection projection) -
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
method_28883
protected static <E extends StructurePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E,StructurePool.Projection> method_28883() -
getStructureBlockInfos
public abstract List<Structure.StructureBlockInfo> getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random) -
getBoundingBox
public abstract BlockBox getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation) -
generate
public abstract boolean generate(StructureManager structureManager, ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos blockPos, BlockPos blockPos2, BlockRotation blockRotation, BlockBox blockBox, Random random, boolean keepJigsaws) -
getType
-
method_16756
public void method_16756(WorldAccess worldAccess, Structure.StructureBlockInfo structureBlockInfo, BlockPos blockPos, BlockRotation blockRotation, Random random, BlockBox blockBox) -
setProjection
-
getProjection
-
getGroundLevelDelta
public int getGroundLevelDelta()
-