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

public class StructureTemplatePool

cij
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_15_R1.WorldGenFeatureDefinedStructurePoolTemplate

Field summary

Modifier and TypeField
public static final StructureTemplatePool
a
EMPTY
field_16679
EMPTY
field_214949_a
public static final StructureTemplatePool
b
INVALID
field_16746
INVALID
field_214950_b
private final ResourceLocation
c
name
field_16678
id
field_214951_c
private final com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>>
d
rawTemplates
field_16864
elementCounts
field_214952_d
private final List<StructurePoolElement>
e
templates
field_16680
elements
field_214953_e
private final ResourceLocation
f
fallback
field_16681
terminatorsId
field_214954_f
private final StructureTemplatePool$Projection
g
projection
field_16863
projection
field_214955_g
private int
h
maxSize
field_18707
field_214956_h

Constructor summary

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

Method summary

Modifier and TypeMethod
public int
a(cml arg0)
getMaxSize(StructureManager arg0)
method_19309(class_3485 arg0)
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()