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

public class SinglePoolElement

extends StructurePoolElement

coh
net.minecraft.world.level.levelgen.feature.structures.SinglePoolElement
net.minecraft.class_3781
net.minecraft.structure.pool.SinglePoolElement
net.minecraft.world.gen.feature.jigsaw.SingleJigsawPiece
net.minecraft.server.v1_16_R3.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
field_236837_a_
public static final com.mojang.serialization.Codec<SinglePoolElement>
b
CODEC
field_24952
field_24952
field_236838_b_
protected final com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>
c
template
field_24015
field_24015
field_236839_c_
protected final Supplier<StructureProcessorList>
d
processors
field_16674
processors
field_214862_b

Constructor summary

ModifierConstructor
protected (com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> arg0, Supplier<StructureProcessorList> arg1, StructureTemplatePool$Projection arg2)
public (StructureTemplate arg0)

Method summary

Modifier and TypeMethod
private static <T> com.mojang.serialization.DataResult<T>
a(com.mojang.datafixers.util.Either<vk, ctb> 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)
func_236840_a_(com.mojang.datafixers.util.Either<ResourceLocation, Template> arg0, com.mojang.serialization.DynamicOps<T> arg1, T arg2)
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, Supplier<StructureProcessorList>>
b()
processorsCodec()
method_28880()
method_28880()
func_236844_b_()
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>>
c()
templateCodec()
method_28882()
method_28882()
func_236846_c_()
private StructureTemplate
a(csw arg0)
getTemplate(StructureManager arg0)
method_27233(class_3485 arg0)
method_27233(StructureManager arg0)
func_236843_a_(TemplateManager arg0)
public List<StructureTemplate$StructureBlockInfo>
a(csw arg0, fx arg1, bzm 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)
func_214857_a(TemplateManager arg0, BlockPos arg1, Rotation arg2, boolean arg3)
public List<StructureTemplate$StructureBlockInfo>
a(csw arg0, fx arg1, bzm 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)
func_214849_a(TemplateManager arg0, BlockPos arg1, Rotation arg2, Random arg3)
public BoundingBox
a(csw arg0, fx arg1, bzm 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)
func_214852_a(TemplateManager arg0, BlockPos arg1, Rotation arg2)
public boolean
a(csw arg0, bsr arg1, bsn arg2, cfy arg3, fx arg4, fx arg5, bzm arg6, cra 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)
func_230378_a_(TemplateManager arg0, ISeedReader arg1, StructureManager arg2, ChunkGenerator arg3, BlockPos arg4, BlockPos arg5, Rotation arg6, MutableBoundingBox arg7, Random arg8, boolean arg9)
protected StructurePlaceSettings
a(bzm arg0, cra 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)
func_230379_a_(Rotation arg0, MutableBoundingBox arg1, boolean arg2)
public StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
func_214853_a()