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

public class StructureTemplatePool

dtj
net.minecraft.world.level.levelgen.structure.pools.StructureTemplatePool
net.minecraft.class_3785
net.minecraft.unmapped.C_dglscyab
net.minecraft.structure.pool.StructurePool
net.minecraft.structure.pool.StructurePool
net.minecraft.src.C_207042_
net.minecraft.world.level.levelgen.structure.pools.WorldGenFeatureDefinedStructurePoolTemplate

Field summary

Modifier and TypeField
private static final int
c
SIZE_UNSET
field_31523
f_gjtypbhg
DEFAULT_Y
UNSET_SIZE
f_210557_
private static final org.apache.commons.lang3.mutable.MutableObject<com.mojang.serialization.Codec<Holder<StructureTemplatePool>>>
d
CODEC_REFERENCE
field_40925
f_ctjnnkfw
FALLBACK
f_254652_
public static final com.mojang.serialization.Codec<StructureTemplatePool>
a
DIRECT_CODEC
field_25853
f_cylurdsg
CODEC
CODEC
f_210554_
public static final com.mojang.serialization.Codec<Holder<StructureTemplatePool>>
b
CODEC
field_24954
f_ygthjfkq
REGISTRY_CODEC
REGISTRY_CODEC
f_210555_
private final List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>>
e
rawTemplates
field_16864
f_bmrvgqng
elementCounts
elementCounts
f_210559_
private final it.unimi.dsi.fastutil.objects.ObjectArrayList<StructurePoolElement>
f
templates
field_16680
f_olmlvstd
elements
elements
f_210560_
private final Holder<StructureTemplatePool>
g
fallback
field_40926
f_icpglovc
fallback
terminatorsId
f_210561_
private int
h
maxSize
field_18707
f_cddforgi
highestY
highestY
f_210562_

Constructor summary

ModifierConstructor
public (Holder<StructureTemplatePool> fallback, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> elementCounts)
public (Holder<StructureTemplatePool> fallback, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool$Projection, ? extends StructurePoolElement>, Integer>> elementCountsByGetters, StructureTemplatePool$Projection projection)

Method summary

Modifier and TypeMethod
public int
a(dvu arg0)
getMaxSize(StructureTemplateManager arg0)
method_19309(class_3485 arg0)
m_pogernqt(C_zxhjfyir arg0)
getHighestY(StructureTemplateManager structureTemplateManager)
getHighestY(StructureTemplateManager structureTemplateManager)
m_227357_(C_213305_ arg0)
public Holder<StructureTemplatePool>
a()
getFallback()
method_46736()
m_pltjirsu()
getFallback()
getTerminatorsId()
m_254935_()
public StructurePoolElement
a(apf arg0)
getRandomTemplate(RandomSource arg0)
method_16631(class_5819 arg0)
m_iwprrgta(C_rlomrsco arg0)
getRandomElement(Random random)
getRandomElement(RandomGenerator random)
m_227355_(C_212974_ arg0)
public List<StructurePoolElement>
b(apf arg0)
getShuffledTemplates(RandomSource arg0)
method_16633(class_5819 arg0)
m_ulcrgpcf(C_rlomrsco arg0)
getElementIndicesInRandomOrder(Random random)
getElementIndicesInRandomOrder(RandomGenerator random)
m_227362_(C_212974_ arg0)
public int
b()
size()
method_16632()
m_gojwybpw()
getElementCount()
getElementCount()
m_210590_()