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

public class SinglePoolElement

extends StructurePoolElement

eky
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.MapCodec<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_
protected final Optional<LiquidSettings>
e
overrideLiquidSettings
field_52234
overrideLiquidSettings
f_336933_

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<akr, ent> 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, Optional<LiquidSettings>>
c()
overrideLiquidSettingsCodec()
method_61013()
overrideLiquidSettingsGetter()
m_338712_()
protected static <E extends SinglePoolElement> com.mojang.serialization.codecs.RecordCodecBuilder<E, com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate>>
d()
templateCodec()
method_28882()
locationGetter()
m_210465_()
public Vec3i
a(enu arg0, dmm 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(enu arg0)
getTemplate(StructureTemplateManager arg0)
method_27233(class_3485 arg0)
getStructure(StructureTemplateManager structureTemplateManager)
m_227299_(C_213305_ arg0)
public List<StructureTemplate$StructureBlockInfo>
a(enu arg0, jd arg1, dmm 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(enu arg0, jd arg1, dmm arg2, ayw 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)
static void
a(List<ent$c> arg0)
sortBySelectionPriority(List<StructureTemplate$StructureBlockInfo> arg0)
method_54782(List<class_3499$class_3501> arg0)
sort(List<StructureTemplate$StructureBlockInfo> blocks)
m_306160_(List<C_2634_$C_2638_> p_312992_)
public BoundingBox
a(enu arg0, jd arg1, dmm 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(enu arg0, dds arg1, ddq arg2, duz arg3, jd arg4, jd arg5, dmm arg6, ejj arg7, ayw arg8, end 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)
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_342078_, C_336455_ p_227311_, boolean arg10)
protected StructurePlaceSettings
a(dmm arg0, ejj arg1, end 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)
m_207169_(C_1886_ p_210422_, C_2478_ p_345518_, C_336455_ p_210423_, boolean arg3)
public StructurePoolElementType<?>
a()
getType()
method_16757()
getType()
m_207234_()