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

public class SinglePoolElement

extends StructurePoolElement

epr
net.minecraft.world.level.levelgen.structure.pools.SinglePoolElement
net.minecraft.class_3781
net.minecraft.structure.pool.SinglePoolElement
net.minecraft.world.level.levelgen.structure.pools.WorldGenFeatureDefinedStructurePoolSingle

Field summary

Modifier and TypeField
private static final Comparator<StructureTemplate$JigsawBlockInfo>
a
HIGHEST_SELECTION_PRIORITY_FIRST
field_54804
JIGSAW_BLOCK_INFO_COMPARATOR
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>>
g
TEMPLATE_CODEC
field_24951
LOCATION_CODEC
public static final com.mojang.serialization.MapCodec<SinglePoolElement>
b
CODEC
field_24952
CODEC
protected final com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>
c
template
field_24015
location
protected final Holder<StructureProcessorList>
d
processors
field_16674
processors
protected final Optional<LiquidSettings>
e
overrideLiquidSettings
field_52234
overrideLiquidSettings

Constructor summary

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

Method summary

Modifier and TypeMethod
private static <T> com.mojang.serialization.DataResult<T>
a(com.mojang.datafixers.util.Either<alz, esm> 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)
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, Holder<StructureProcessorList>>
b()
processorsCodec()
method_28880()
processorsGetter()
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, Optional<LiquidSettings>>
c()
overrideLiquidSettingsCodec()
method_61013()
overrideLiquidSettingsGetter()
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>>
d()
templateCodec()
method_28882()
locationGetter()
public Vec3i
a(esn arg0, drc arg1)
getSize(StructureTemplateManager arg0, Rotation arg1)
method_16601(class_3485 arg0, class_2470 arg1)
getStart(StructureTemplateManager arg0, BlockRotation arg1)
private StructureTemplate
a(esn arg0)
getTemplate(StructureTemplateManager arg0)
method_27233(class_3485 arg0)
getStructure(StructureTemplateManager structureTemplateManager)
public List<StructureTemplate$StructureBlockInfo>
a(esn arg0, jh arg1, drc 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)
public List<StructureTemplate$JigsawBlockInfo>
a(esn arg0, jh arg1, drc arg2, bam 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)
static void
a(List<esm$a> arg0)
sortBySelectionPriority(List<StructureTemplate$JigsawBlockInfo> arg0)
method_54782(List<class_3499$class_10326> arg0)
sort(List<StructureTemplate$JigsawBlockInfo> blocks)
public BoundingBox
a(esn arg0, jh arg1, drc 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)
public boolean
a(esn arg0, dig arg1, die arg2, dzr arg3, jh arg4, jh arg5, drc arg6, eoc arg7, bam arg8, erw 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 arg0, StructureWorldAccess arg1, StructureAccessor arg2, ChunkGenerator arg3, BlockPos arg4, BlockPos arg5, BlockRotation arg6, BlockBox arg7, Random arg8, StructureLiquidSettings arg9, boolean arg10)
protected StructurePlaceSettings
a(drc arg0, eoc arg1, erw arg2, boolean arg3)
getSettings(Rotation arg0, BoundingBox arg1, LiquidSettings arg2, boolean arg3)
method_16616(class_2470 arg0, class_3341 arg1, class_9822 arg2, boolean arg3)
createPlacementData(BlockRotation rotation, BlockBox box, StructureLiquidSettings liquidSettings, boolean keepJigsaws)
public StructurePoolElementType<?>
a()
getType()
method_16757()
getType()