Interface PoolAliasBinding
- All Known Implementing Classes:
Direct
,Random
,RandomGroup
public interface PoolAliasBinding
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends PoolAliasBinding>
codec()
static Direct
static Direct
direct
(ResourceKey<StructureTemplatePool> p_311763_, ResourceKey<StructureTemplatePool> p_312427_) void
forEachResolved
(RandomSource p_309848_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_311325_) static Random
random
(String p_311792_, SimpleWeightedRandomList<String> p_310543_) static Random
random
(ResourceKey<StructureTemplatePool> p_311453_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_311769_) static RandomGroup
randomGroup
(SimpleWeightedRandomList<List<PoolAliasBinding>> p_310479_)
-
Field Details
-
CODEC
-
-
Method Details
-
forEachResolved
void forEachResolved(RandomSource p_309848_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_311325_) -
allTargets
Stream<ResourceKey<StructureTemplatePool>> allTargets() -
direct
-
direct
static Direct direct(ResourceKey<StructureTemplatePool> p_311763_, ResourceKey<StructureTemplatePool> p_312427_) -
random
-
random
static Random random(ResourceKey<StructureTemplatePool> p_311453_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_311769_) -
randomGroup
-
codec
com.mojang.serialization.Codec<? extends PoolAliasBinding> codec()
-