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

public abstract class StructurePoolElement

dmi
net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
net.minecraft.class_3784
net.minecraft.structure.pool.StructurePoolElement
net.minecraft.src.C_207040_
net.minecraft.world.level.levelgen.structure.pools.WorldGenFeatureDefinedStructurePoolStructure

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<StructurePoolElement>
e
CODEC
field_24953
CODEC
f_210468_
private volatile StructureTemplatePool$Projection
a
projection
field_16862
projection
f_210467_

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>
d()
projectionCodec()
method_28883()
projectionGetter()
m_210538_()
public abstract Vec3i
a(dou arg0, cpw arg1)
getSize(StructureTemplateManager arg0, Rotation arg1)
method_16601(class_3485 arg0, class_2470 arg1)
getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation)
m_213577_(C_213305_ p_227347_, C_1886_ arg1)
public abstract List<StructureTemplate$StructureBlockInfo>
a(dou arg0, gt arg1, cpw arg2, amn 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)
m_213638_(C_213305_ p_227352_, C_4675_ p_227353_, C_1886_ p_227354_, C_212974_ arg3)
public abstract BoundingBox
a(dou arg0, gt arg1, cpw 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)
m_214015_(C_213305_ p_227349_, C_4675_ p_227350_, C_1886_ arg2)
public abstract boolean
a(dou arg0, chp arg1, cho arg2, cxk arg3, gt arg4, gt arg5, cpw arg6, dkt arg7, amn arg8, boolean arg9)
place(StructureTemplateManager arg0, WorldGenLevel arg1, StructureManager arg2, ChunkGenerator arg3, BlockPos arg4, BlockPos arg5, Rotation arg6, BoundingBox arg7, RandomSource arg8, boolean arg9)
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, boolean arg9)
generate(StructureTemplateManager structureTemplateManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos pivot, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
m_213695_(C_213305_ p_227337_, C_1625_ p_227338_, C_213086_ p_227339_, C_2118_ p_227340_, C_4675_ p_227341_, C_4675_ p_227342_, C_1886_ p_227343_, C_2478_ p_227344_, C_212974_ p_227345_, boolean arg9)
public abstract StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
m_207234_()
public void
a(cgy arg0, dot$c arg1, gt arg2, cpw arg3, amn arg4, dkt 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)
m_227329_(C_1598_ p_227331_, C_2638_ p_227332_, C_4675_ p_227333_, C_1886_ p_227334_, C_212974_ p_227335_, C_2478_ arg5)
public StructurePoolElement
a(dmk$a arg0)
setProjection(StructureTemplatePool$Projection arg0)
method_16622(class_3785$class_3786 arg0)
setProjection(StructurePool$Projection projection)
m_207247_(C_207043_ arg0)
public StructureTemplatePool$Projection
e()
getProjection()
method_16624()
getProjection()
m_210539_()
public int
f()
getGroundLevelDelta()
method_19308()
getGroundLevelDelta()
m_210540_()
public static Function<StructureTemplatePool$Projection, EmptyPoolElement>
g()
empty()
method_30438()
ofEmpty()
m_210541_()
public static Function<StructureTemplatePool$Projection, LegacySinglePoolElement>
a(String arg0)
legacy(String arg0)
method_30425(String arg0)
ofLegacySingle(String id)
m_210507_(String p_210508_)
public static Function<StructureTemplatePool$Projection, LegacySinglePoolElement>
a(String arg0, hc<dor> arg1)
legacy(String arg0, Holder<StructureProcessorList> arg1)
method_30426(String arg0, class_6880<class_5497> arg1)
ofProcessedLegacySingle(String id, RegistryEntry<StructureProcessorList> processorListEntry)
m_210512_(String p_210513_, C_203228_<C_2630_> p_210514_)
public static Function<StructureTemplatePool$Projection, SinglePoolElement>
b(String arg0)
single(String arg0)
method_30434(String arg0)
ofSingle(String id)
m_210526_(String p_210527_)
public static Function<StructureTemplatePool$Projection, SinglePoolElement>
b(String arg0, hc<dor> arg1)
single(String arg0, Holder<StructureProcessorList> arg1)
method_30435(String arg0, class_6880<class_5497> arg1)
ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> processorListEntry)
m_210531_(String p_210532_, C_203228_<C_2630_> p_210533_)
public static Function<StructureTemplatePool$Projection, FeaturePoolElement>
a(hc<dkg> arg0)
feature(Holder<PlacedFeature> arg0)
method_30421(class_6880<class_6796> arg0)
ofFeature(RegistryEntry<PlacedFeature> placedFeatureEntry)
m_210502_(C_203228_<C_183014_> p_210503_)
public static Function<StructureTemplatePool$Projection, ListPoolElement>
a(List<Function<dmk$a, ? extends dmi>> 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)
m_210519_(List<Function<C_207043_, ? extends C_207040_>> p_210520_)