net.minecraft.world.level.levelgen.feature.structures

public class SinglePoolElement

extends StructurePoolElement

dbx
net.minecraft.world.level.levelgen.feature.structures.SinglePoolElement
net.minecraft.class_3781
net.minecraft.structure.pool.SinglePoolElement
net.minecraft.src.C_2405_
net.minecraft.world.level.levelgen.feature.structures.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
field_24951
f_69096_
public static final com.mojang.serialization.Codec<SinglePoolElement>
b
CODEC
field_24952
field_24952
f_69097_
protected final com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>
c
template
field_24015
location
f_69098_
protected final Supplier<StructureProcessorList>
d
processors
field_16674
processors
f_69099_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static <T> com.mojang.serialization.DataResult<T>
a(com.mojang.datafixers.util.Either<yh, dgu> 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)
method_28877(com.mojang.datafixers.util.Either<Identifier, Structure> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
m_69113_(com.mojang.datafixers.util.Either<C_5265_, C_2634_> p_69114_, com.mojang.serialization.DynamicOps<T> p_69115_, T p_69116_)
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, Supplier<StructureProcessorList>>
b()
processorsCodec()
method_28880()
method_28880()
m_69146_()
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>>
c()
templateCodec()
method_28882()
method_28882()
m_69149_()
public Vec3i
a(dgp arg0, ciu arg1)
getSize(StructureManager arg0, Rotation arg1)
method_16601(class_3485 arg0, class_2470 arg1)
getStart(StructureManager arg0, BlockRotation arg1)
m_141911_(C_2627_ p_161665_, C_1886_ arg1)
private StructureTemplate
a(dgp arg0)
getTemplate(StructureManager arg0)
method_27233(class_3485 arg0)
getStructure(StructureManager structureManager)
m_69119_(C_2627_ arg0)
public List<StructureTemplate$StructureBlockInfo>
a(dgp arg0, gh arg1, ciu arg2, boolean arg3)
getDataMarkers(StructureManager arg0, BlockPos arg1, Rotation arg2, boolean arg3)
method_16614(class_3485 arg0, class_2338 arg1, class_2470 arg2, boolean arg3)
getDataStructureBlocks(StructureManager structureManager, BlockPos pos, BlockRotation rotation, boolean mirroredAndRotated)
m_69141_(C_2627_ p_69143_, C_4675_ p_69144_, C_1886_ p_69145_, boolean arg3)
public List<StructureTemplate$StructureBlockInfo>
a(dgp arg0, gh arg1, ciu 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 arg0, BlockPos arg1, BlockRotation arg2, Random arg3)
m_6439_(C_2627_ p_69138_, C_4675_ p_69139_, C_1886_ p_69140_, Random arg3)
public BoundingBox
a(dgp arg0, gh arg1, ciu arg2)
getBoundingBox(StructureManager arg0, BlockPos arg1, Rotation arg2)
method_16628(class_3485 arg0, class_2338 arg1, class_2470 arg2)
getBoundingBox(StructureManager arg0, BlockPos arg1, BlockRotation arg2)
m_6867_(C_2627_ p_69134_, C_4675_ p_69135_, C_1886_ arg2)
public boolean
a(dgp arg0, cav arg1, cau arg2, cpz arg3, gh arg4, gh arg5, ciu arg6, deh 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 arg0, StructureWorldAccess arg1, StructureAccessor arg2, ChunkGenerator arg3, BlockPos arg4, BlockPos arg5, BlockRotation arg6, BlockBox arg7, Random arg8, boolean arg9)
m_6791_(C_2627_ p_69123_, C_1625_ p_69124_, C_1621_ p_69125_, C_2118_ p_69126_, C_4675_ p_69127_, C_4675_ p_69128_, C_1886_ p_69129_, C_2478_ p_69130_, Random p_69131_, boolean arg9)
protected StructurePlaceSettings
a(ciu arg0, deh 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_8122_(C_1886_ p_69109_, C_2478_ p_69110_, boolean arg2)
public StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
m_6379_()