net.minecraft.world.level.levelgen.feature.stateproviders

public class WeightedStateProvider

extends BlockStateProvider

eni
net.minecraft.world.level.levelgen.feature.stateproviders.WeightedStateProvider
net.minecraft.class_4657
net.minecraft.world.gen.stateprovider.WeightedBlockStateProvider

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WeightedStateProvider>
b
CODEC
field_24946
CODEC
private final WeightedList<BlockState>
c
weightedList
field_21315
states

Constructor summary

ModifierConstructor
public (WeightedList<BlockState> states)
public (WeightedList$Builder<BlockState> states)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<WeightedStateProvider>
a(bsj<dzo> arg0)
create(WeightedList<BlockState> arg0)
method_28868(class_6012<class_2680> arg0)
wrap(Pool<BlockState> states)
protected BlockStateProviderType<?>
a()
type()
method_28862()
getType()
public BlockState
a(azt arg0, iu arg1)
getState(RandomSource arg0, BlockPos arg1)
method_23455(class_5819 arg0, class_2338 arg1)
get(Random arg0, BlockPos arg1)