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

public abstract class StructurePoolElement

ejt
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 static final Holder<StructureProcessorList>
a
EMPTY
field_40924
EMPTY_PROCESSORS
f_254734_
private volatile StructureTemplatePool$Projection
b
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(emn arg0, dlo 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(emn arg0, iz arg1, dlo arg2, azh 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(emn arg0, iz arg1, dlo 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(emn arg0, dcv arg1, dct arg2, dub arg3, iz arg4, iz arg5, dlo arg6, eie arg7, azh 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(dcb arg0, emm$c arg1, iz arg2, dlo arg3, azh arg4, eie 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_2634_$C_2638_ p_227332_, C_4675_ p_227333_, C_1886_ p_227334_, C_212974_ p_227335_, C_2478_ arg5)
public StructurePoolElement
a(ejv$a arg0)
setProjection(StructureTemplatePool$Projection arg0)
method_16622(class_3785$class_3786 arg0)
setProjection(StructurePool$Projection projection)
m_207247_(C_207042_$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, ji<emk> 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, ji<emk> 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(ji<ehq> 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>
b(List<Function<ejv$a, ? extends ejt>> 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_207042_$C_207043_, ? extends C_207040_>> p_210520_)