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

public abstract class StructurePoolElement

dgq
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()
method_28883()
m_210538_()
public abstract Vec3i
a(dhr arg0, cjm arg1)
getSize(StructureManager arg0, Rotation arg1)
method_16601(class_3485 arg0, class_2470 arg1)
getStart(StructureManager structureManager, BlockRotation rotation)
m_207466_(C_2627_ p_210494_, C_1886_ arg1)
public abstract List<StructureTemplate$StructureBlockInfo>
a(dhr arg0, gj arg1, cjm arg2, Random arg3)
getShuffledJigsawBlocks(StructureManager arg0, BlockPos arg1, Rotation arg2, Random arg3)
method_16627(class_3485 arg0, class_2338 arg1, class_2470 arg2, Random arg3)
getStructureBlockInfos(StructureManager structureManager, BlockPos pos, BlockRotation rotation, Random random)
m_207245_(C_2627_ p_210499_, C_4675_ p_210500_, C_1886_ p_210501_, Random arg3)
public abstract BoundingBox
a(dhr arg0, gj arg1, cjm arg2)
getBoundingBox(StructureManager arg0, BlockPos arg1, Rotation arg2)
method_16628(class_3485 arg0, class_2338 arg1, class_2470 arg2)
getBoundingBox(StructureManager structureManager, BlockPos pos, BlockRotation rotation)
m_207470_(C_2627_ p_210496_, C_4675_ p_210497_, C_1886_ arg2)
public abstract boolean
a(dhr arg0, cbn arg1, cbm arg2, cqr arg3, gj arg4, gj arg5, cjm arg6, deo arg7, Random arg8, boolean arg9)
place(StructureManager arg0, WorldGenLevel arg1, StructureFeatureManager arg2, ChunkGenerator arg3, BlockPos arg4, BlockPos arg5, Rotation arg6, BoundingBox arg7, Random 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, Random arg8, boolean arg9)
generate(StructureManager structureManager, StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, BlockPos pos, BlockPos arg5, BlockRotation rotation, BlockBox box, Random random, boolean keepJigsaws)
m_207251_(C_2627_ p_210484_, C_1625_ p_210485_, C_1621_ p_210486_, C_2118_ p_210487_, C_4675_ p_210488_, C_4675_ p_210489_, C_1886_ p_210490_, C_2478_ p_210491_, Random p_210492_, boolean arg9)
public abstract StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
m_207234_()
public void
a(caw arg0, dhw$c arg1, gj arg2, cjm arg3, Random arg4, deo arg5)
handleDataMarker(LevelAccessor arg0, StructureTemplate$StructureBlockInfo arg1, BlockPos arg2, Rotation arg3, Random arg4, BoundingBox arg5)
method_16756(class_1936 arg0, class_3499$class_3501 arg1, class_2338 arg2, class_2470 arg3, Random arg4, class_3341 arg5)
method_16756(WorldAccess world, Structure$StructureBlockInfo structureBlockInfo, BlockPos pos, BlockRotation rotation, Random random, BlockBox box)
m_210472_(C_1598_ p_210474_, C_2634_$C_2638_ p_210475_, C_4675_ p_210476_, C_1886_ p_210477_, Random p_210478_, C_2478_ arg5)
public StructurePoolElement
a(dgs$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, gs<dhu> arg1)
legacy(String arg0, Holder<StructureProcessorList> arg1)
method_30426(String arg0, class_6880<class_5497> arg1)
ofProcessedLegacySingle(String id, RegistryEntry<StructureProcessorList> arg1)
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, gs<dhu> arg1)
single(String arg0, Holder<StructureProcessorList> arg1)
method_30435(String arg0, class_6880<class_5497> arg1)
ofProcessedSingle(String id, RegistryEntry<StructureProcessorList> arg1)
m_210531_(String p_210532_, C_203228_<C_2630_> p_210533_)
public static Function<StructureTemplatePool$Projection, FeaturePoolElement>
a(gs<ded> arg0)
feature(Holder<PlacedFeature> arg0)
method_30421(class_6880<class_6796> arg0)
ofFeature(RegistryEntry<PlacedFeature> arg0)
m_210502_(C_203228_<C_183014_> p_210503_)
public static Function<StructureTemplatePool$Projection, ListPoolElement>
a(List<Function<dgs$a, ? extends dgq>> 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>> arg0)
m_210519_(List<Function<C_207042_$C_207043_, ? extends C_207040_>> p_210520_)