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

public class StructureTemplatePool

cok
net.minecraft.world.level.levelgen.feature.structures.StructureTemplatePool
net.minecraft.class_3785
net.minecraft.structure.pool.StructurePool
net.minecraft.world.gen.feature.jigsaw.JigsawPattern
net.minecraft.server.v1_16_R3.WorldGenFeatureDefinedStructurePoolTemplate

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_24955
LOGGER
field_236853_d_
public static final com.mojang.serialization.Codec<StructureTemplatePool>
a
DIRECT_CODEC
field_25853
CODEC
field_236852_a_
public static final com.mojang.serialization.Codec<Supplier<StructureTemplatePool>>
b
CODEC
field_24954
REGISTRY_CODEC
field_244392_b_
private final ResourceLocation
d
name
field_16678
id
field_214951_c
private final List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>>
e
rawTemplates
field_16864
elementCounts
field_214952_d
private final List<StructurePoolElement>
f
templates
field_16680
elements
field_214953_e
private final ResourceLocation
g
fallback
field_16681
terminatorsId
field_214954_f
private int
h
maxSize
field_18707
highestY
field_214956_h

Constructor summary

ModifierConstructor
public (ResourceLocation arg0, ResourceLocation arg1, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> arg2)
public (ResourceLocation arg0, ResourceLocation arg1, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool$Projection, ? extends StructurePoolElement>, Integer>> arg2, StructureTemplatePool$Projection arg3)

Method summary

Modifier and TypeMethod
public int
a(csw arg0)
getMaxSize(StructureManager arg0)
method_19309(class_3485 arg0)
getHighestY(StructureManager structureManager)
func_214945_a(TemplateManager arg0)
public ResourceLocation
a()
getFallback()
method_16634()
getTerminatorsId()
func_214948_a()
public StructurePoolElement
a(Random arg0)
getRandomTemplate(Random arg0)
method_16631(Random arg0)
getRandomElement(Random random)
func_214944_a(Random arg0)
public List<StructurePoolElement>
b(Random arg0)
getShuffledTemplates(Random arg0)
method_16633(Random arg0)
getElementIndicesInRandomOrder(Random random)
func_214943_b(Random arg0)
public ResourceLocation
b()
getName()
method_16629()
getId()
func_214947_b()
public int
c()
size()
method_16632()
getElementCount()
func_214946_c()