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>
CODEC
private StructurePool.Projection
projection
-
Constructor Summary
Constructors Modifier Constructor Description protected
StructurePoolElement(StructurePool.Projection projection)
-
Method Summary
-
Field Details
-
CODEC
-
projection
-
-
Constructor Details
-
StructurePoolElement
-
-
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, StructureWorldAccess structureWorldAccess, 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() -
method_30438
-
method_30425
public static Function<StructurePool.Projection,LegacySinglePoolElement> method_30425(String string) -
method_30426
public static Function<StructurePool.Projection,LegacySinglePoolElement> method_30426(String string, StructureProcessorList structureProcessorList) -
method_30434
-
method_30435
public static Function<StructurePool.Projection,SinglePoolElement> method_30435(String string, StructureProcessorList structureProcessorList) -
method_30421
public static Function<StructurePool.Projection,FeaturePoolElement> method_30421(ConfiguredFeature<?,?> configuredFeature) -
method_30429
public static Function<StructurePool.Projection,ListPoolElement> method_30429(List<Function<StructurePool.Projection,? extends StructurePoolElement>> list)
-