Class TrapezoidHeight
java.lang.Object
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.world.level.levelgen.heightproviders.TrapezoidHeight
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<TrapezoidHeight>
private static org.apache.logging.log4j.Logger
private VerticalAnchor
private VerticalAnchor
private 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.apache.logging.log4j.Logger LOGGER -
minInclusive
-
maxInclusive
-
plateau
private final int plateau
-
-
Constructor Details
-
TrapezoidHeight
-
-
Method Details
-
of
public static TrapezoidHeight of(VerticalAnchor p_162010_, VerticalAnchor p_162011_, int p_162012_) -
of
-
sample
- Specified by:
sample
in classHeightProvider
-
getType
- Specified by:
getType
in classHeightProvider
-
toString
-