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

public abstract class StructurePoolElement

ekz
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>
f
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>
e()
projectionCodec()
method_28883()
projectionGetter()
m_210538_()
public abstract Vec3i
a(enu arg0, dmm 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(enu arg0, jd arg1, dmm arg2, ayw 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(enu arg0, jd arg1, dmm 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(enu arg0, dds arg1, ddq arg2, duz arg3, jd arg4, jd arg5, dmm arg6, ejj arg7, ayw arg8, end 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)
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_342484_, C_336455_ p_227345_, boolean arg10)
public abstract StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
m_207234_()
public void
a(dcx arg0, ent$c arg1, jd arg2, dmm arg3, ayw arg4, ejj 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(elb$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
f()
getProjection()
method_16624()
getProjection()
m_210539_()
public int
g()
getGroundLevelDelta()
method_19308()
getGroundLevelDelta()
m_210540_()
public static Function<StructureTemplatePool$Projection, EmptyPoolElement>
h()
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, jm<enr> 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, jm<enr> 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, SinglePoolElement>
a(String arg0, end arg1)
single(String arg0, LiquidSettings arg1)
method_61014(String arg0, class_9822 arg1)
ofSingle(String id, StructureLiquidSettings liquidSettings)
m_338365_(String p_342465_, C_336455_ p_344698_)
public static Function<StructureTemplatePool$Projection, SinglePoolElement>
a(String arg0, jm<enr> arg1, end 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)
m_340006_(String p_343039_, C_203228_<C_2630_> p_343135_, C_336455_ p_342378_)
public static Function<StructureTemplatePool$Projection, FeaturePoolElement>
a(jm<eiv> 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<elb$a, ? extends ekz>> 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_)