Class ConstantHeight
java.lang.Object
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.world.level.levelgen.heightproviders.ConstantHeight
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ConstantHeight>
private final VerticalAnchor
static final ConstantHeight
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
getValue()
static ConstantHeight
of
(VerticalAnchor p_161957_) int
sample
(Random p_161961_, WorldGenerationContext p_161962_) toString()
-
Field Details
-
ZERO
-
CODEC
-
value
-
-
Constructor Details
-
ConstantHeight
-
-
Method Details
-
of
-
getValue
-
sample
- Specified by:
sample
in classHeightProvider
-
getType
- Specified by:
getType
in classHeightProvider
-
toString
-