Class WeightedStateProvider
java.lang.Object
net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
net.minecraft.world.level.levelgen.feature.stateproviders.WeightedStateProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<WeightedStateProvider>
private SimpleWeightedRandomList<BlockState>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.DataResult<WeightedStateProvider>
create(SimpleWeightedRandomList<BlockState> p_161598_)
protected BlockStateProviderType<?>
type()
-
Field Details
-
CODEC
-
weightedList
-
-
Constructor Details
-
WeightedStateProvider
-
WeightedStateProvider
-
-
Method Details
-
create
private static com.mojang.serialization.DataResult<WeightedStateProvider> create(SimpleWeightedRandomList<BlockState> p_161598_) -
type
- Specified by:
type
in classBlockStateProvider
-
getState
- Specified by:
getState
in classBlockStateProvider
-