Uses of Interface
dev.wyck.worldgen.heightproviders.HeightProvider
Packages that use HeightProvider
Package
Description
-
Uses of HeightProvider in dev.wyck.worldgen.carver
Fields in dev.wyck.worldgen.carver declared as HeightProviderModifier and TypeFieldDescriptionprotected @Nullable HeightProviderCarverConfiguration.CarverConfigurationBuilder.yMethods in dev.wyck.worldgen.carver that return HeightProviderMethods in dev.wyck.worldgen.carver with parameters of type HeightProviderModifier and TypeMethodDescriptionstatic CanyonCarverConfigurationCanyonCarverConfiguration.of(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, Set<Material> replaceable, FloatProvider verticalRotation, CanyonCarverConfiguration.CanyonShapeConfiguration shape) Creates a new CanyonCarverConfiguration.static CaveCarverConfigurationCaveCarverConfiguration.of(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, Set<Material> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel) Creates a new CaveCarverConfiguration.CarverConfiguration.CarverConfigurationBuilder.y(HeightProvider y) Sets the y-level of the carver. -
Uses of HeightProvider in dev.wyck.worldgen.carver.custom
Methods in dev.wyck.worldgen.carver.custom that return HeightProvider -
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.