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_224788_, HeightProvider p_224789_, FloatProvider p_224790_, VerticalAnchor p_224791_, CarverDebugSettings p_224792_, HolderSet<Block> p_224793_, FloatProvider p_224794_, CanyonCarverConfiguration.CanyonShapeConfiguration p_224795_) CarverConfiguration
(float p_224832_, HeightProvider p_224833_, FloatProvider p_224834_, VerticalAnchor p_224835_, CarverDebugSettings p_224836_, HolderSet<Block> p_224837_) CaveCarverConfiguration
(float p_224863_, HeightProvider p_224864_, FloatProvider p_224865_, VerticalAnchor p_224866_, HolderSet<Block> p_224867_, FloatProvider p_224868_, FloatProvider p_224869_, FloatProvider p_224870_) CaveCarverConfiguration
(float p_224853_, HeightProvider p_224854_, FloatProvider p_224855_, VerticalAnchor p_224856_, CarverDebugSettings p_224857_, HolderSet<Block> p_224858_, FloatProvider p_224859_, FloatProvider p_224860_, FloatProvider p_224861_) -
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_)