Uses of Interface
net.minecraft.world.level.levelgen.VerticalAnchor
Package
Description
-
Uses of VerticalAnchor in net.minecraft.world.level.levelgen
Modifier and TypeClassDescriptionstatic final record
static final record
static final record
Modifier 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.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<VerticalAnchor>
VerticalAnchor.CODEC
Modifier and TypeMethodDescriptionstatic VerticalAnchor
VerticalAnchor.aboveBottom
(int p_158931_) static VerticalAnchor
VerticalAnchor.absolute
(int p_158923_) SurfaceRules.YConditionSource.anchor()
Returns the value of theanchor
record component.static VerticalAnchor
VerticalAnchor.belowTop
(int p_158936_) 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>> p_158925_) static VerticalAnchor
VerticalAnchor.top()
SurfaceRules.VerticalGradientConditionSource.trueAtAndBelow()
Returns the value of thetrueAtAndBelow
record component.Modifier and TypeMethodDescriptionprivate static com.mojang.datafixers.util.Either<VerticalAnchor.Absolute,
com.mojang.datafixers.util.Either<VerticalAnchor.AboveBottom, VerticalAnchor.BelowTop>> VerticalAnchor.split
(VerticalAnchor p_158927_) static SurfaceRules.ConditionSource
SurfaceRules.verticalGradient
(String p_189404_, VerticalAnchor p_189405_, VerticalAnchor p_189406_) static SurfaceRules.ConditionSource
SurfaceRules.yBlockCheck
(VerticalAnchor p_189401_, int p_189402_) static SurfaceRules.ConditionSource
SurfaceRules.yStartCheck
(VerticalAnchor p_189423_, int p_189424_) ModifierConstructorDescription(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
ModifierConstructorDescriptionCanyonCarverConfiguration
(float p_190586_, HeightProvider p_190587_, FloatProvider p_190588_, VerticalAnchor p_190589_, CarverDebugSettings p_190590_, FloatProvider p_190591_, CanyonCarverConfiguration.CanyonShapeConfiguration p_190592_) CarverConfiguration
(float p_190629_, HeightProvider p_190630_, FloatProvider p_190631_, VerticalAnchor p_190632_, CarverDebugSettings p_190633_) CaveCarverConfiguration
(float p_159160_, HeightProvider p_159161_, FloatProvider p_159162_, VerticalAnchor p_159163_, boolean p_159164_, FloatProvider p_159165_, FloatProvider p_159166_, FloatProvider p_159167_) CaveCarverConfiguration
(float p_190653_, HeightProvider p_190654_, FloatProvider p_190655_, VerticalAnchor p_190656_, CarverDebugSettings p_190657_, FloatProvider p_190658_, FloatProvider p_190659_, FloatProvider p_190660_) -
Uses of VerticalAnchor in net.minecraft.world.level.levelgen.heightproviders
Modifier 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
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<VerticalAnchor,
HeightProvider>> HeightProvider.CONSTANT_OR_DISPATCH_CODEC
Modifier and TypeMethodDescriptionstatic BiasedToBottomHeight
BiasedToBottomHeight.of
(VerticalAnchor p_161932_, VerticalAnchor p_161933_, int p_161934_) static ConstantHeight
ConstantHeight.of
(VerticalAnchor p_161957_) static TrapezoidHeight
TrapezoidHeight.of
(VerticalAnchor p_162007_, VerticalAnchor p_162008_) static TrapezoidHeight
TrapezoidHeight.of
(VerticalAnchor p_162010_, VerticalAnchor p_162011_, int p_162012_) static UniformHeight
UniformHeight.of
(VerticalAnchor p_162035_, VerticalAnchor p_162036_) static VeryBiasedToBottomHeight
VeryBiasedToBottomHeight.of
(VerticalAnchor p_162059_, VerticalAnchor p_162060_, int p_162061_) ModifierConstructorDescriptionprivate
BiasedToBottomHeight
(VerticalAnchor p_161925_, VerticalAnchor p_161926_, int p_161927_) private
ConstantHeight
(VerticalAnchor p_161950_) private
TrapezoidHeight
(VerticalAnchor p_162000_, VerticalAnchor p_162001_, int p_162002_) private
UniformHeight
(VerticalAnchor p_162029_, VerticalAnchor p_162030_) private
VeryBiasedToBottomHeight
(VerticalAnchor p_162052_, VerticalAnchor p_162053_, int p_162054_) -
Uses of VerticalAnchor in net.minecraft.world.level.levelgen.placement
Modifier and TypeMethodDescriptionstatic HeightRangePlacement
HeightRangePlacement.triangle
(VerticalAnchor p_191693_, VerticalAnchor p_191694_) static HeightRangePlacement
HeightRangePlacement.uniform
(VerticalAnchor p_191681_, VerticalAnchor p_191682_)