Class UniformHeight
java.lang.Object
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.world.level.levelgen.heightproviders.UniformHeight
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<UniformHeight>
private static final org.slf4j.Logger
private final VerticalAnchor
private final VerticalAnchor
private final it.unimi.dsi.fastutil.longs.LongSet
-
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
(RandomSource p_226308_, WorldGenerationContext p_226309_) toString()
-
Field Details
-
CODEC
-
LOGGER
private static final org.slf4j.Logger LOGGER -
minInclusive
-
maxInclusive
-
warnedFor
private final it.unimi.dsi.fastutil.longs.LongSet warnedFor
-
-
Constructor Details
-
UniformHeight
-
-
Method Details
-
of
-
sample
- Specified by:
sample
in classHeightProvider
-
getType
- Specified by:
getType
in classHeightProvider
-
toString
-