Class WeightedListHeight
java.lang.Object
net.minecraft.world.level.levelgen.heightproviders.HeightProvider
net.minecraft.world.level.levelgen.heightproviders.WeightedListHeight
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<WeightedListHeight> private final SimpleWeightedRandomList
<HeightProvider> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
int
sample
(RandomSource p_226314_, WorldGenerationContext p_226315_)
-
Field Details
-
CODEC
-
distribution
-
-
Constructor Details
-
WeightedListHeight
-
-
Method Details
-
sample
- Specified by:
sample
in classHeightProvider
-
getType
- Specified by:
getType
in classHeightProvider
-