Uses of Interface
dev.wyck.worldgen.heightproviders.VerticalAnchor
Packages that use VerticalAnchor
Package
Description
-
Uses of VerticalAnchor in dev.wyck.worldgen.carver
Fields in dev.wyck.worldgen.carver declared as VerticalAnchorModifier and TypeFieldDescriptionprotected @Nullable VerticalAnchorCarverConfiguration.CarverConfigurationBuilder.lavaLevelMethods in dev.wyck.worldgen.carver that return VerticalAnchorMethods in dev.wyck.worldgen.carver with parameters of type VerticalAnchorModifier and TypeMethodDescriptionCarverConfiguration.CarverConfigurationBuilder.lavaLevel(VerticalAnchor lavaLevel) Sets the lava level of the carver.static 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. -
Uses of VerticalAnchor in dev.wyck.worldgen.carver.custom
Methods in dev.wyck.worldgen.carver.custom that return VerticalAnchorModifier and TypeMethodDescriptionCustomCarver.lavaLevel()The y-level below whichCarvingContext.carveEllipsoid(double, double, double, double, double, CarvingContext.CarveSkipChecker)places lava rather than consulting the aquifer. -
Uses of VerticalAnchor in dev.wyck.worldgen.heightproviders
Subinterfaces of VerticalAnchor in dev.wyck.worldgen.heightprovidersModifier and TypeInterfaceDescriptioninterfaceA relative height starting at the bottom of the world.interfaceAn absolute height as seen on the F3 screen.interfaceA relative height starting at the top of the world.Fields in dev.wyck.worldgen.heightproviders declared as VerticalAnchorModifier and TypeFieldDescriptionprotected VerticalAnchorHeightProvider.HeightProviderBuilder.maxInclusiveprotected VerticalAnchorHeightProvider.HeightProviderBuilder.minInclusiveMethods in dev.wyck.worldgen.heightproviders that return VerticalAnchorModifier and TypeMethodDescriptionstatic VerticalAnchorReads a Minecraft vertical anchor into a wrapper.HeightProvider.maxInclusive()The vertical anchor used as the maximum height.default VerticalAnchorWeightedListHeight.maxInclusive()HeightProvider.minInclusive()The vertical anchor used as the minimum height.default VerticalAnchorWeightedListHeight.minInclusive()ConstantHeight.value()The vertical anchor used as the constant height.Methods in dev.wyck.worldgen.heightproviders with parameters of type VerticalAnchorModifier and TypeMethodDescriptiondefault BiasedToBottomHeightVerticalAnchor.biased(VerticalAnchor maxInclusive, int inner) static BiasedToBottomHeightHeightProvider.biasedToBottom(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) Weighted toward the bottom of the range.default BiasedToBottomHeightVerticalAnchor.biasedToBottom(VerticalAnchor maxInclusive, int inner) Wraps the given value in aBiasedToBottomHeightstatic ConstantHeightHeightProvider.constant(VerticalAnchor value) A single fixed anchor.HeightProvider.HeightProviderBuilder.max(VerticalAnchor max) Sets the maximum anchor.HeightProvider.HeightProviderBuilder.maxInclusive(VerticalAnchor maxInclusive) Sets the maximum anchor.HeightProvider.HeightProviderBuilder.min(VerticalAnchor min) Sets the minimum anchor.HeightProvider.HeightProviderBuilder.minInclusive(VerticalAnchor minInclusive) Sets the minimum anchor.static BiasedToBottomHeightBiasedToBottomHeight.of(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) Creates a new biased-to-bottom height provider.static ConstantHeightConstantHeight.of(VerticalAnchor value) Creates a new constant height provider.static TrapezoidHeightTrapezoidHeight.of(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int plateau) Creates a new trapezoid height provider.static UniformHeightUniformHeight.of(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) Creates a new uniform height provider.static VeryBiasedToBottomHeightVeryBiasedToBottomHeight.of(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) Creates a new very-biased-to-bottom height provider.static TrapezoidHeightHeightProvider.trapezoid(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int plateau) Trapezoidal distribution with a flat plateau of the given height.default TrapezoidHeightVerticalAnchor.trapezoid(VerticalAnchor maxInclusive, int plateau) Wraps the given value in aTrapezoidHeightstatic UniformHeightHeightProvider.uniform(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) Uniformly distributed between two anchors (inclusive).default UniformHeightVerticalAnchor.uniform(VerticalAnchor maxInclusive) Wraps the given value in aUniformHeightdefault VeryBiasedToBottomHeightVerticalAnchor.veryBiased(VerticalAnchor maxInclusive, int inner) static VeryBiasedToBottomHeightHeightProvider.veryBiasedToBottom(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) Weighted very strongly toward the bottom of the range.default VeryBiasedToBottomHeightVerticalAnchor.veryBiasedToBottom(VerticalAnchor maxInclusive, int inner) Wraps the given value in aVeryBiasedToBottomHeightConstructors in dev.wyck.worldgen.heightproviders with parameters of type VerticalAnchorModifierConstructorDescriptionprotectedHeightProviderBuilder(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) -
Uses of VerticalAnchor in dev.wyck.worldgen.surface
Methods in dev.wyck.worldgen.surface with parameters of type VerticalAnchorModifier and TypeMethodDescriptionSurfaceRule.optionallyFlatBedrock(ResourceKey randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove, boolean roof) Creates Paper's bedrock gradient, which collapses to one layer when flat bedrock is enabled.SurfaceRule.verticalGradient(String randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) A noisy vertical gradient that is true below one anchor and false above another, fading between.static YAboveConditionSourceSurfaceRule.yBlockCheck(VerticalAnchor anchor, int surfaceDepthMultiplier) Matches at or above a vertical anchor, evaluated per block.static YAboveConditionSourceSurfaceRule.yStartCheck(VerticalAnchor anchor, int surfaceDepthMultiplier) Matches at or above a vertical anchor, evaluated at the column start. -
Uses of VerticalAnchor in dev.wyck.worldgen.surface.condition
Methods in dev.wyck.worldgen.surface.condition that return VerticalAnchorModifier and TypeMethodDescriptionYAboveConditionSource.anchor()The vertical anchor to compare the height with.PaperOptionallyFlatBedrockConditionSource.falseAtAndAbove()Gets the anchor at and above which the condition fails.VerticalGradientConditionSource.falseAtAndAbove()The upper vertical anchor.PaperOptionallyFlatBedrockConditionSource.trueAtAndBelow()Gets the anchor at and below which the condition passes.VerticalGradientConditionSource.trueAtAndBelow()The lower vertical anchor.Methods in dev.wyck.worldgen.surface.condition with parameters of type VerticalAnchorModifier and TypeMethodDescriptionYAboveConditionSource.Builder.anchor(VerticalAnchor anchor) Sets the vertical anchor to compare the height with.PaperOptionallyFlatBedrockConditionSource.Builder.falseAtAndAbove(VerticalAnchor falseAtAndAbove) Sets the anchor at and above which the condition fails.VerticalGradientConditionSource.Builder.falseAtAndAbove(VerticalAnchor falseAtAndAbove) Sets the anchor at and above which the condition fails.PaperOptionallyFlatBedrockConditionSource.of(ResourceKey randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove, boolean roof) Creates a new optionally-flat bedrock condition source.VerticalGradientConditionSource.of(String randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) Creates a new vertical gradient condition source.static YAboveConditionSourceYAboveConditionSource.of(VerticalAnchor anchor, int surfaceDepthMultiplier, boolean addStoneDepth) Creates a new y above condition source.PaperOptionallyFlatBedrockConditionSource.Builder.trueAtAndBelow(VerticalAnchor trueAtAndBelow) Sets the anchor at and below which the condition passes.VerticalGradientConditionSource.Builder.trueAtAndBelow(VerticalAnchor trueAtAndBelow) Sets the anchor at and below which the condition passes.