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.MapCodec
<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
(RandomSource p_226305_, WorldGenerationContext p_226306_) 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
-