Uses of Interface
dev.wyck.worldgen.heightproviders.HeightProvider
Packages that use HeightProvider
Package
Description
-
Uses of HeightProvider in dev.wyck.worldgen.carver
Methods in dev.wyck.worldgen.carver that return HeightProviderModifier and TypeMethodDescriptionCarverConfiguration.y()The height provider used to select the carver's starting y-coordinate.Methods in dev.wyck.worldgen.carver with parameters of type HeightProviderModifier and TypeMethodDescriptionstatic CanyonWorldCarverCanyonWorldCarver.of(float probability, HeightProvider y, FloatProvider verticalRotation, CanyonWorldCarver.Shape shape) Creates a canyon world carver.static CaveWorldCarverCaveWorldCarver.of(float probability, HeightProvider y, IntProvider count, FloatProvider thickness, boolean weirdThicknessBias, FloatProvider roomVerticalRadiusMultiplier, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider startVerticalRadiusMultiplier, FloatProvider floorLevel) Creates a cave world carver.CanyonWorldCarver.Builder.y(HeightProvider y) Sets the provider used to select the starting y-coordinate.CaveWorldCarver.Builder.y(HeightProvider y) Sets the provider used to select the starting y-coordinate. -
Uses of HeightProvider in dev.wyck.worldgen.heightproviders
Classes in dev.wyck.worldgen.heightproviders with type parameters of type HeightProviderModifier and TypeClassDescriptionstatic classHeightProvider.HeightProviderBuilder<T extends HeightProvider, S extends HeightProvider.HeightProviderBuilder<T,S>> Common abstract builder for height providers with inclusive anchor bounds.Subinterfaces of HeightProvider in dev.wyck.worldgen.heightprovidersModifier and TypeInterfaceDescriptioninterfaceA height provider biased towardHeightProvider.minInclusive().interfaceA height provider which always resolves to a single fixed anchor.interfaceA height provider which samples an isosceles trapezoidal distribution betweenHeightProvider.minInclusive()andHeightProvider.maxInclusive()with a flatTrapezoidHeight.plateau().interfaceA height provider which samples a uniformly distributed value betweenHeightProvider.minInclusive()andHeightProvider.maxInclusive()(inclusive).interfaceA height provider biased strongly towardHeightProvider.minInclusive(), with a sharper exponential distribution thanBiasedToBottomHeight.interfaceA height provider which picks an entry from theWeightedListHeight.distribution()proportionally to its weight, then samples that entry's provider.Methods in dev.wyck.worldgen.heightproviders that return HeightProviderModifier and TypeMethodDescriptionstatic HeightProviderReads a Minecraft height provider into a wrapper.Methods in dev.wyck.worldgen.heightproviders that return types with arguments of type HeightProviderModifier and TypeMethodDescriptionWeightedListHeight.distribution()The weighted pool of providers to sample from.Methods in dev.wyck.worldgen.heightproviders with parameters of type HeightProviderModifier and TypeMethodDescriptionWeightedListHeight.Builder.add(HeightProvider provider) Adds a provider with a weight of one.WeightedListHeight.Builder.add(HeightProvider provider, int weight) Adds a provider with the given weight.Method parameters in dev.wyck.worldgen.heightproviders with type arguments of type HeightProviderModifier 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 HeightProvider in dev.wyck.worldgen.placement
Methods in dev.wyck.worldgen.placement that return HeightProviderMethods in dev.wyck.worldgen.placement with parameters of type HeightProviderModifier and TypeMethodDescriptionstatic HeightRangePlacementPlacementModifier.heightRange(HeightProvider height) A new instance of the height range placement modifier.static HeightRangePlacementHeightRangePlacement.of(HeightProvider height) Creates a new height range placement. -
Uses of HeightProvider in dev.wyck.worldgen.structure.types
Methods in dev.wyck.worldgen.structure.types that return HeightProviderModifier and TypeMethodDescriptionNetherFossilStructure.height()The height the fossil starts searching downward from for solid ground.JigsawStructure.startHeight()The height the start piece is placed at, relative to the heightmap whenJigsawStructure.projectStartToHeightmap()is set.Methods in dev.wyck.worldgen.structure.types with parameters of type HeightProviderModifier and TypeMethodDescriptionNetherFossilStructure.Builder.height(HeightProvider height) Sets the height the fossil starts searching downward from for solid ground.static JigsawStructureJigsawStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, TemplatePool startPool, @Nullable ResourceKey startJigsawName, int size, HeightProvider startHeight, boolean useExpansionHack, @Nullable HeightmapType projectStartToHeightmap, JigsawStructure.MaxDistance maxDistanceFromCenter, List<PoolAliasBinding> poolAliases, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) Creates a new jigsaw structure.static NetherFossilStructureNetherFossilStructure.of(@Nullable ResourceKey resourceKey, StructureSettings settings, HeightProvider height) Creates a new nether fossil.JigsawStructure.Builder.startHeight(HeightProvider startHeight) Sets the height the start piece is placed at.