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

public class StructureTemplatePool

dca
net.minecraft.world.level.levelgen.feature.structures.StructureTemplatePool
net.minecraft.class_3785
net.minecraft.unmapped.C_dglscyab
net.minecraft.structure.pool.StructurePool
net.minecraft.src.C_2408_
net.minecraft.world.level.levelgen.feature.structures.WorldGenFeatureDefinedStructurePoolTemplate

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_24955
f_oumjvcii
LOGGER
f_69247_
private static final int
d
SIZE_UNSET
field_31523
f_gjtypbhg
field_31523
f_161679_
public static final com.mojang.serialization.Codec<StructureTemplatePool>
a
DIRECT_CODEC
field_25853
f_cylurdsg
CODEC
f_69245_
public static final com.mojang.serialization.Codec<Supplier<StructureTemplatePool>>
b
CODEC
field_24954
f_ygthjfkq
REGISTRY_CODEC
f_69246_
private final ResourceLocation
e
name
field_16678
f_eadqowsk
id
f_69248_
private final List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>>
f
rawTemplates
field_16864
f_bmrvgqng
elementCounts
f_69249_
private final List<StructurePoolElement>
g
templates
field_16680
f_olmlvstd
elements
f_69250_
private final ResourceLocation
h
fallback
field_16681
f_icpglovc
terminatorsId
f_69251_
private int
i
maxSize
field_18707
f_cddforgi
highestY
f_69252_

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
a(dgp arg0)
getMaxSize(StructureManager arg0)
method_19309(class_3485 arg0)
m_pogernqt(C_rhdulivw arg0)
getHighestY(StructureManager structureManager)
m_69268_(C_2627_ arg0)
public ResourceLocation
a()
getFallback()
method_16634()
m_pltjirsu()
getTerminatorsId()
m_69263_()
public StructurePoolElement
a(Random arg0)
getRandomTemplate(Random arg0)
method_16631(Random arg0)
m_iwprrgta(Random arg0)
getRandomElement(Random random)
m_69273_(Random arg0)
public List<StructurePoolElement>
b(Random arg0)
getShuffledTemplates(Random arg0)
method_16633(Random arg0)
m_ulcrgpcf(Random arg0)
getElementIndicesInRandomOrder(Random random)
m_69276_(Random arg0)
public ResourceLocation
b()
getName()
method_16629()
m_fcjfpkzd()
getId()
m_69275_()
public int
c()
size()
method_16632()
m_gojwybpw()
getElementCount()
m_69278_()