net.minecraft.world.level.levelgen.structure.pools

public abstract class StructurePoolElement

erq
net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
net.minecraft.class_3784
net.minecraft.structure.pool.StructurePoolElement

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<StructurePoolElement>
f
CODEC
field_24953
CODEC
private static final Holder<StructureProcessorList>
a
EMPTY
field_40924
EMPTY_PROCESSORS
private volatile StructureTemplatePool$Projection
b
projection
field_16862
projection

Constructor summary

ModifierConstructor
protected (StructureTemplatePool$Projection projection)

Method summary

Modifier and TypeMethod
protected static <E extends StructurePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, StructureTemplatePool$Projection>
e()
projectionCodec()
method_28883()
projectionGetter()
public abstract Vec3i
a(eul arg0, dsm arg1)
getSize(StructureTemplateManager arg0, Rotation arg1)
method_16601(class_3485 arg0, class_2470 arg1)
getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation)
public abstract List<StructureTemplate$JigsawBlockInfo>
a(eul arg0, iu arg1, dsm arg2, azt arg3)
getShuffledJigsawBlocks(StructureTemplateManager arg0, BlockPos arg1, Rotation arg2, RandomSource arg3)
method_16627(class_3485 arg0, class_2338 arg1, class_2470 arg2, class_5819 arg3)
getStructureBlockInfos(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, Random random)
public abstract BoundingBox
a(eul arg0, iu arg1, dsm arg2)
getBoundingBox(StructureTemplateManager arg0, BlockPos arg1, Rotation arg2)
method_16628(class_3485 arg0, class_2338 arg1, class_2470 arg2)
getBoundingBox(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation)
public abstract boolean
a(eul arg0, djo arg1, djl arg2, ebm arg3, iu arg4, iu arg5, dsm arg6, eqa arg7, azt arg8, etu arg9, boolean arg10)
place(StructureTemplateManager arg0, WorldGenLevel arg1, StructureManager arg2, ChunkGenerator arg3, BlockPos arg4, BlockPos arg5, Rotation arg6, BoundingBox arg7, RandomSource arg8, LiquidSettings arg9, boolean arg10)
method_16626(class_3485 arg0, class_5281 arg1, class_5138 arg2, class_2794 arg3, class_2338 arg4, class_2338 arg5, class_2470 arg6, class_3341 arg7, class_5819 arg8, class_9822 arg9, boolean arg10)
generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, StructureLiquidSettings liquidSettings, boolean keepJigsaws)
public abstract StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
public void
a(diq arg0, euk$d arg1, iu arg2, dsm arg3, azt arg4, eqa arg5)
handleDataMarker(LevelAccessor arg0, StructureTemplate$StructureBlockInfo arg1, BlockPos arg2, Rotation arg3, RandomSource arg4, BoundingBox arg5)
method_16756(class_1936 arg0, class_3499$class_3501 arg1, class_2338 arg2, class_2470 arg3, class_5819 arg4, class_3341 arg5)
method_16756(WorldAccess world, StructureTemplate$StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box)
public StructurePoolElement
a(ers$a arg0)
setProjection(StructureTemplatePool$Projection arg0)
method_16622(class_3785$class_3786 arg0)
setProjection(StructurePool$Projection projection)
public StructureTemplatePool$Projection
f()
getProjection()
method_16624()
getProjection()
public int
g()
getGroundLevelDelta()
method_19308()
getGroundLevelDelta()
public static Function<StructureTemplatePool$Projection, EmptyPoolElement>
h()
empty()
method_30438()
ofEmpty()
public static Function<StructureTemplatePool$Projection, LegacySinglePoolElement>
a(String arg0)
legacy(String arg0)
method_30425(String arg0)
ofLegacySingle(String id)
public static Function<StructureTemplatePool$Projection, LegacySinglePoolElement>
a(String arg0, je<eui> arg1)
legacy(String arg0, Holder<StructureProcessorList> arg1)
method_30426(String arg0, class_6880<class_5497> arg1)
ofProcessedLegacySingle(String id, RegistryEntry<StructureProcessorList> processorListEntry)
public static Function<StructureTemplatePool$Projection, SinglePoolElement>
b(String arg0)
single(String arg0)
method_30434(String arg0)
ofSingle(String id)
public static Function<StructureTemplatePool$Projection, SinglePoolElement>
b(String arg0, je<eui> arg1)
single(String arg0, Holder<StructureProcessorList> arg1)
method_30435(String arg0, class_6880<class_5497> arg1)
ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> processorListEntry)
public static Function<StructureTemplatePool$Projection, SinglePoolElement>
a(String arg0, etu arg1)
single(String arg0, LiquidSettings arg1)
method_61014(String arg0, class_9822 arg1)
ofSingle(String id, StructureLiquidSettings liquidSettings)
public static Function<StructureTemplatePool$Projection, SinglePoolElement>
a(String arg0, je<eui> arg1, etu arg2)
single(String arg0, Holder<StructureProcessorList> arg1, LiquidSettings arg2)
method_61016(String arg0, class_6880<class_5497> arg1, class_9822 arg2)
ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> processorListEntry, StructureLiquidSettings liquidSettings)
public static Function<StructureTemplatePool$Projection, FeaturePoolElement>
a(je<epm> arg0)
feature(Holder<PlacedFeature> arg0)
method_30421(class_6880<class_6796> arg0)
ofFeature(RegistryEntry<PlacedFeature> placedFeatureEntry)
public static Function<StructureTemplatePool$Projection, ListPoolElement>
b(List<Function<ers$a, ? extends erq>> arg0)
list(List<Function<StructureTemplatePool$Projection, ? extends StructurePoolElement>> arg0)
method_30429(List<Function<class_3785$class_3786, ? extends class_3784>> arg0)
ofList(List<Function<StructurePool$Projection, ? extends StructurePoolElement>> elementGetters)