Uses of Interface
net.minecraft.world.level.levelgen.VerticalAnchor
Packages that use VerticalAnchor
Package
Description
-
Uses of VerticalAnchor in net.minecraft.world.level.levelgen
Classes in net.minecraft.world.level.levelgen that implement VerticalAnchorModifier and TypeClassDescriptionstatic final record
static final record
static final record
Fields in net.minecraft.world.level.levelgen declared as VerticalAnchorModifier and TypeFieldDescriptionprivate final VerticalAnchor
SurfaceRules.YConditionSource.anchor
The field for theanchor
record component.static final VerticalAnchor
VerticalAnchor.BOTTOM
private final VerticalAnchor
SurfaceRules.VerticalGradientConditionSource.falseAtAndAbove
The field for thefalseAtAndAbove
record component.static final VerticalAnchor
VerticalAnchor.TOP
private final VerticalAnchor
SurfaceRules.VerticalGradientConditionSource.trueAtAndBelow
The field for thetrueAtAndBelow
record component.Fields in net.minecraft.world.level.levelgen with type parameters of type VerticalAnchorModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<VerticalAnchor> VerticalAnchor.CODEC
Methods in net.minecraft.world.level.levelgen that return VerticalAnchorModifier and TypeMethodDescriptionstatic VerticalAnchor
VerticalAnchor.aboveBottom
(int value) static VerticalAnchor
VerticalAnchor.absolute
(int value) SurfaceRules.YConditionSource.anchor()
Returns the value of theanchor
record component.static VerticalAnchor
VerticalAnchor.belowTop
(int value) static VerticalAnchor
VerticalAnchor.bottom()
SurfaceRules.VerticalGradientConditionSource.falseAtAndAbove()
Returns the value of thefalseAtAndAbove
record component.private static VerticalAnchor
VerticalAnchor.merge
(com.mojang.datafixers.util.Either<VerticalAnchor.Absolute, com.mojang.datafixers.util.Either<VerticalAnchor.AboveBottom, VerticalAnchor.BelowTop>> anchor) static VerticalAnchor
VerticalAnchor.top()
SurfaceRules.VerticalGradientConditionSource.trueAtAndBelow()
Returns the value of thetrueAtAndBelow
record component.Methods in net.minecraft.world.level.levelgen with parameters of type VerticalAnchorModifier and TypeMethodDescriptionprivate static com.mojang.datafixers.util.Either
<VerticalAnchor.Absolute, com.mojang.datafixers.util.Either<VerticalAnchor.AboveBottom, VerticalAnchor.BelowTop>> VerticalAnchor.split
(VerticalAnchor anchor) static SurfaceRules.ConditionSource
SurfaceRules.verticalGradient
(String randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) static SurfaceRules.ConditionSource
SurfaceRules.yBlockCheck
(VerticalAnchor anchor, int surfaceDepthMultiplier) static SurfaceRules.ConditionSource
SurfaceRules.yStartCheck
(VerticalAnchor anchor, int surfaceDepthMultiplier) Constructors in net.minecraft.world.level.levelgen with parameters of type VerticalAnchorModifierConstructorDescription(package private)
VerticalGradientConditionSource
(ResourceLocation randomName, VerticalAnchor trueAtAndBelow, VerticalAnchor falseAtAndAbove) Creates an instance of aVerticalGradientConditionSource
record class.(package private)
YConditionSource
(VerticalAnchor anchor, int surfaceDepthMultiplier, boolean addStoneDepth) Creates an instance of aYConditionSource
record class. -
Uses of VerticalAnchor in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver declared as VerticalAnchorConstructors in net.minecraft.world.level.levelgen.carver with parameters of type VerticalAnchorModifierConstructorDescriptionCanyonCarverConfiguration
(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, HolderSet<Block> replaceable, FloatProvider verticalRotation, CanyonCarverConfiguration.CanyonShapeConfiguration shape) CarverConfiguration
(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, HolderSet<Block> replaceable) CaveCarverConfiguration
(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, HolderSet<Block> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel) CaveCarverConfiguration
(float probability, HeightProvider y, FloatProvider yScale, VerticalAnchor lavaLevel, CarverDebugSettings debugSettings, HolderSet<Block> replaceable, FloatProvider horizontalRadiusMultiplier, FloatProvider verticalRadiusMultiplier, FloatProvider floorLevel) -
Uses of VerticalAnchor in net.minecraft.world.level.levelgen.heightproviders
Fields in net.minecraft.world.level.levelgen.heightproviders declared as VerticalAnchorModifier and TypeFieldDescriptionprivate final VerticalAnchor
BiasedToBottomHeight.maxInclusive
private final VerticalAnchor
TrapezoidHeight.maxInclusive
private final VerticalAnchor
UniformHeight.maxInclusive
private final VerticalAnchor
VeryBiasedToBottomHeight.maxInclusive
private final VerticalAnchor
BiasedToBottomHeight.minInclusive
private final VerticalAnchor
TrapezoidHeight.minInclusive
private final VerticalAnchor
UniformHeight.minInclusive
private final VerticalAnchor
VeryBiasedToBottomHeight.minInclusive
private final VerticalAnchor
ConstantHeight.value
Fields in net.minecraft.world.level.levelgen.heightproviders with type parameters of type VerticalAnchorModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<VerticalAnchor, HeightProvider>> HeightProvider.CONSTANT_OR_DISPATCH_CODEC
Methods in net.minecraft.world.level.levelgen.heightproviders that return VerticalAnchorMethods in net.minecraft.world.level.levelgen.heightproviders with parameters of type VerticalAnchorModifier and TypeMethodDescriptionstatic BiasedToBottomHeight
BiasedToBottomHeight.of
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) static ConstantHeight
ConstantHeight.of
(VerticalAnchor value) static TrapezoidHeight
TrapezoidHeight.of
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) static TrapezoidHeight
TrapezoidHeight.of
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int plateau) static UniformHeight
UniformHeight.of
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) static VeryBiasedToBottomHeight
VeryBiasedToBottomHeight.of
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) Constructors in net.minecraft.world.level.levelgen.heightproviders with parameters of type VerticalAnchorModifierConstructorDescriptionprivate
BiasedToBottomHeight
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) private
ConstantHeight
(VerticalAnchor value) private
TrapezoidHeight
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int plateau) private
UniformHeight
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) private
VeryBiasedToBottomHeight
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive, int inner) -
Uses of VerticalAnchor in net.minecraft.world.level.levelgen.placement
Methods in net.minecraft.world.level.levelgen.placement with parameters of type VerticalAnchorModifier and TypeMethodDescriptionstatic HeightRangePlacement
HeightRangePlacement.triangle
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive) static HeightRangePlacement
HeightRangePlacement.uniform
(VerticalAnchor minInclusive, VerticalAnchor maxInclusive)