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_307379_, ResourceKey<StructureTemplatePool> p_307242_) void
forEachResolved
(RandomSource p_307322_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307269_) static Random
random
(String p_307435_, SimpleWeightedRandomList<String> p_307653_) static Random
random
(ResourceKey<StructureTemplatePool> p_307260_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_307665_) static RandomGroup
randomGroup
(SimpleWeightedRandomList<List<PoolAliasBinding>> p_307498_)
-
Field Details
-
CODEC
-
-
Method Details
-
forEachResolved
void forEachResolved(RandomSource p_307322_, BiConsumer<ResourceKey<StructureTemplatePool>, ResourceKey<StructureTemplatePool>> p_307269_) -
allTargets
Stream<ResourceKey<StructureTemplatePool>> allTargets() -
direct
-
direct
static Direct direct(ResourceKey<StructureTemplatePool> p_307379_, ResourceKey<StructureTemplatePool> p_307242_) -
random
-
random
static Random random(ResourceKey<StructureTemplatePool> p_307260_, SimpleWeightedRandomList<ResourceKey<StructureTemplatePool>> p_307665_) -
randomGroup
-
codec
com.mojang.serialization.Codec<? extends PoolAliasBinding> codec()
-