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

record Random

implements PoolAliasBinding

eau
net.minecraft.world.level.levelgen.structure.pools.alias.Random
net.minecraft.class_8892
net.minecraft.structure.pool.alias.RandomStructurePoolAliasBinding
net.minecraft.src.C_302083_
net.minecraft.world.level.levelgen.structure.pools.alias.Random

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(auv arg0, BiConsumer<ahf<eap>, ahf<eap>> 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)
m_305333_(C_212974_ p_311412_, BiConsumer<C_5264_<C_207042_>, C_5264_<C_207042_>> arg1)
public Stream<ResourceKey<StructureTemplatePool>>
a()
allTargets()
method_54499()
streamTargets()
m_304920_()
public com.mojang.serialization.Codec<Random>
b()
codec()
method_54502()
getCodec()
m_304964_()
public ResourceKey<StructureTemplatePool>
c()
alias()
comp_2005()
alias()
f_302490_()
public SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>>
d()
targets()
comp_2006()
targets()
f_302245_()