Class TrapezoidHeight
java.lang.Object
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.world.level.levelgen.heightproviders.TrapezoidHeight
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TrapezoidHeight>
private static final org.slf4j.Logger
private final VerticalAnchor
private final VerticalAnchor
private final int
-
Constructor Summary
ModifierConstructorDescriptionprivate
TrapezoidHeight
(VerticalAnchor p_162000_, VerticalAnchor p_162001_, int p_162002_) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
static TrapezoidHeight
of
(VerticalAnchor p_162007_, VerticalAnchor p_162008_) static TrapezoidHeight
of
(VerticalAnchor p_162010_, VerticalAnchor p_162011_, int p_162012_) int
sample
(Random p_162016_, WorldGenerationContext p_162017_) toString()
-
Field Details
-
CODEC
-
LOGGER
private static final org.slf4j.Logger LOGGER -
minInclusive
-
maxInclusive
-
plateau
private final int plateau
-
-
Constructor Details
-
TrapezoidHeight
-
-
Method Details
-
of
-
of
-
sample
- Specified by:
sample
in classHeightProvider
-
getType
- Specified by:
getType
in classHeightProvider
-
toString
-