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

public class SinglePoolElement

extends StructurePoolElement

dtg
net.minecraft.world.level.levelgen.structure.pools.SinglePoolElement
net.minecraft.class_3781
net.minecraft.structure.pool.SinglePoolElement
net.minecraft.src.C_207039_
net.minecraft.world.level.levelgen.structure.pools.WorldGenFeatureDefinedStructurePoolSingle

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>>
a
TEMPLATE_CODEC
field_24951
LOCATION_CODEC
f_210409_
public static final com.mojang.serialization.Codec<SinglePoolElement>
b
CODEC
field_24952
CODEC
f_210410_
protected final com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>
c
template
field_24015
location
f_210411_
protected final Holder<StructureProcessorList>
d
processors
field_16674
processors
f_210412_

Constructor summary

ModifierConstructor
protected (com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> location, Holder<StructureProcessorList> processors, StructureTemplatePool$Projection projection)

Method summary

Modifier and TypeMethod
private static <T> com.mojang.serialization.DataResult<T>
a(com.mojang.datafixers.util.Either<acq, dvt> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encodeTemplate(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
method_28877(com.mojang.datafixers.util.Either<class_2960, class_3499> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
encodeLocation(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> location, com.mojang.serialization.DynamicOps<T> ops, T prefix)
m_210424_(com.mojang.datafixers.util.Either<C_5265_, C_2634_> p_210425_, com.mojang.serialization.DynamicOps<T> p_210426_, T p_210427_)
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, Holder<StructureProcessorList>>
b()
processorsCodec()
method_28880()
processorsGetter()
m_210462_()
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>>
c()
templateCodec()
method_28882()
locationGetter()
m_210465_()
public Vec3i
a(dvu arg0, cvz arg1)
getSize(StructureTemplateManager arg0, Rotation arg1)
method_16601(class_3485 arg0, class_2470 arg1)
getStart(StructureTemplateManager arg0, BlockRotation arg1)
m_213577_(C_213305_ p_227314_, C_1886_ arg1)
private StructureTemplate
a(dvu arg0)
getTemplate(StructureTemplateManager arg0)
method_27233(class_3485 arg0)
getStructure(StructureTemplateManager structureTemplateManager)
m_227299_(C_213305_ arg0)
public List<StructureTemplate$StructureBlockInfo>
a(dvu arg0, gu arg1, cvz arg2, boolean arg3)
getDataMarkers(StructureTemplateManager arg0, BlockPos arg1, Rotation arg2, boolean arg3)
method_16614(class_3485 arg0, class_2338 arg1, class_2470 arg2, boolean arg3)
getDataStructureBlocks(StructureTemplateManager structureTemplateManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)
m_227324_(C_213305_ p_227326_, C_4675_ p_227327_, C_1886_ p_227328_, boolean arg3)
public List<StructureTemplate$StructureBlockInfo>
a(dvu arg0, gu arg1, cvz arg2, apf 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 arg0, BlockPos arg1, BlockRotation arg2, Random arg3)
m_213638_(C_213305_ p_227321_, C_4675_ p_227322_, C_1886_ p_227323_, C_212974_ arg3)
public BoundingBox
a(dvu arg0, gu arg1, cvz arg2)
getBoundingBox(StructureTemplateManager arg0, BlockPos arg1, Rotation arg2)
method_16628(class_3485 arg0, class_2338 arg1, class_2470 arg2)
getBoundingBox(StructureTemplateManager arg0, BlockPos arg1, BlockRotation arg2)
m_214015_(C_213305_ p_227317_, C_4675_ p_227318_, C_1886_ arg2)
public boolean
a(dvu arg0, cng arg1, cne arg2, ddy arg3, gu arg4, gu arg5, cvz arg6, drs arg7, apf 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 arg0, StructureWorldAccess arg1, StructureAccessor arg2, ChunkGenerator arg3, BlockPos arg4, BlockPos arg5, BlockRotation arg6, BlockBox arg7, Random arg8, boolean arg9)
m_213695_(C_213305_ p_227303_, C_1625_ p_227304_, C_213086_ p_227305_, C_2118_ p_227306_, C_4675_ p_227307_, C_4675_ p_227308_, C_1886_ p_227309_, C_2478_ p_227310_, C_212974_ p_227311_, boolean arg9)
protected StructurePlaceSettings
a(cvz arg0, drs arg1, boolean arg2)
getSettings(Rotation arg0, BoundingBox arg1, boolean arg2)
method_16616(class_2470 arg0, class_3341 arg1, boolean arg2)
createPlacementData(BlockRotation rotation, BlockBox box, boolean keepJigsaws)
m_207169_(C_1886_ p_210422_, C_2478_ p_210423_, boolean arg2)
public StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
m_207234_()