Class UniformHeight
java.lang.Object
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.world.level.levelgen.heightproviders.UniformHeight
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<UniformHeight>
private static org.apache.logging.log4j.Logger
private VerticalAnchor
private VerticalAnchor
-
Constructor Summary
ModifierConstructorDescriptionprivate
UniformHeight(VerticalAnchor p_162029_, VerticalAnchor p_162030_)
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
static UniformHeight
of(VerticalAnchor p_162035_, VerticalAnchor p_162036_)
int
sample(Random p_162040_, WorldGenerationContext p_162041_)
toString()
-
Field Details
-
CODEC
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
minInclusive
-
maxInclusive
-
-
Constructor Details
-
UniformHeight
-
-
Method Details
-
of
-
sample
- Specified by:
sample
in classHeightProvider
-
getType
- Specified by:
getType
in classHeightProvider
-
toString
-