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.Codec<WeightedListHeight>
private final SimpleWeightedRandomList<HeightProvider>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
int
sample
(Random p_191543_, WorldGenerationContext p_191544_)
-
Field Details
-
CODEC
-
distribution
-
-
Constructor Details
-
WeightedListHeight
-
-
Method Details
-
sample
- Specified by:
sample
in classHeightProvider
-
getType
- Specified by:
getType
in classHeightProvider
-