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

record Random

implements PoolAliasBinding

epz
net.minecraft.world.level.levelgen.structure.pools.alias.Random
net.minecraft.class_8892
net.minecraft.structure.pool.alias.RandomStructurePoolAliasBinding
net.minecraft.world.level.levelgen.structure.pools.alias.Random

Field summary

Modifier and TypeField
private final ResourceKey<StructureTemplatePool>
c
alias
comp_2005
alias
private final SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>>
d
targets
comp_2006
targets
static com.mojang.serialization.MapCodec<Random>
a
CODEC
field_46827
CODEC

Constructor summary

ModifierConstructor
(ResourceKey<StructureTemplatePool> arg0, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> arg1)

Method summary

Modifier and TypeMethod
public void
a(bam arg0, BiConsumer<aly<epu>, aly<epu>> arg1)
forEachResolved(RandomSource arg0, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> arg1)
method_54500(class_5819 arg0, BiConsumer<class_5321<class_3785>, class_5321<class_3785>> arg1)
forEach(Random arg0, BiConsumer<RegistryKey<StructurePool>, RegistryKey<StructurePool>> arg1)
public Stream<ResourceKey<StructureTemplatePool>>
a()
allTargets()
method_54499()
streamTargets()
public com.mojang.serialization.MapCodec<Random>
b()
codec()
method_54502()
getCodec()
public ResourceKey<StructureTemplatePool>
c()
alias()
comp_2005()
alias()
public SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>>
d()
targets()
comp_2006()
targets()