Uses of Class
dev.wyck.util.WeightedList
Packages that use WeightedList
Package
Description
-
Uses of WeightedList in dev.wyck.biome.entity
Methods in dev.wyck.biome.entity that return types with arguments of type WeightedListModifier and TypeMethodDescriptionBiomeSpawner.spawners()Gets the spawners for each mob category.Methods in dev.wyck.biome.entity with parameters of type WeightedListModifier and TypeMethodDescriptionBiomeSpawner.Builder.spawners(MobCategory category, WeightedList<NaturalSpawner> list) Adds multiple spawners to the builder. -
Uses of WeightedList in dev.wyck.util
Methods in dev.wyck.util that return WeightedListModifier and TypeMethodDescriptionWeightedList.Builder.build()static <E> WeightedList<E> WeightedList.of()static <E> WeightedList<E> WeightedList.of(WeightedList.Weighted<E>... items) static <E> WeightedList<E> WeightedList.of(E element) static <E> WeightedList<E> WeightedList.of(List<WeightedList.Weighted<E>> items) -
Uses of WeightedList in dev.wyck.worldgen.feature.configurations
Methods in dev.wyck.worldgen.feature.configurations that return WeightedListModifier and TypeMethodDescriptionWeightedRandomFeatureConfiguration.features()The weighted list of features to choose from.TemplateFeatureConfiguration.templates()The weighted list of templates to choose from.Methods in dev.wyck.worldgen.feature.configurations with parameters of type WeightedListModifier and TypeMethodDescriptionstatic TemplateFeatureConfigurationTemplateFeatureConfiguration.of(WeightedList<TemplateFeatureConfiguration.TemplateEntry> templates) Creates a new template feature configuration.WeightedRandomFeatureConfiguration.of(WeightedList<PlacedFeature> features) Creates a new weighted random feature configuration. -
Uses of WeightedList in dev.wyck.worldgen.heightproviders
Methods in dev.wyck.worldgen.heightproviders that return WeightedListModifier and TypeMethodDescriptionWeightedListHeight.distribution()The weighted pool of providers to sample from.Methods in dev.wyck.worldgen.heightproviders with parameters of type WeightedListModifier and TypeMethodDescriptionstatic WeightedListHeightWeightedListHeight.of(WeightedList<HeightProvider> distribution) Creates a new weighted list height provider.static WeightedListHeightHeightProvider.weightedList(WeightedList<HeightProvider> distribution) A random value drawn from a weighted list of height providers. -
Uses of WeightedList in dev.wyck.worldgen.stateproviders
Methods in dev.wyck.worldgen.stateproviders that return WeightedListModifier and TypeMethodDescriptionWeightedStateProvider.entries()A weighted list entry of each block state.Methods in dev.wyck.worldgen.stateproviders with parameters of type WeightedListModifier and TypeMethodDescriptionWeightedStateProvider.Builder.entries(WeightedList<BlockData> entries) Sets the weighted list of block states.static WeightedStateProviderWeightedStateProvider.of(WeightedList<BlockData> entries) Creates a new weighted state provider. -
Uses of WeightedList in dev.wyck.worldgen.valueproviders
Methods in dev.wyck.worldgen.valueproviders that return WeightedListModifier and TypeMethodDescriptionWeightedListInt.distribution()The weighted pool of providers to sample from.Methods in dev.wyck.worldgen.valueproviders with parameters of type WeightedListModifier and TypeMethodDescriptionstatic WeightedListIntWeightedListInt.of(WeightedList<IntProvider> distribution) Creates a new weighted list int provider.static WeightedListIntIntProvider.weightedList(WeightedList<IntProvider> distribution) Creates a weighted list int provider.