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

public class WeightedStateProvider

extends BlockStateProvider

cnw
net.minecraft.world.level.levelgen.feature.stateproviders.WeightedStateProvider
net.minecraft.class_4657
net.minecraft.world.gen.stateprovider.WeightedBlockStateProvider
net.minecraft.world.gen.blockstateprovider.WeightedBlockStateProvider
net.minecraft.server.v1_16_R2.WorldGenFeatureStateProviderWeighted

Field summary

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

Constructor summary

ModifierConstructor
private (WeightedList<BlockState> states)
public ()

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<WeightedStateProvider>
a(aum<cee> arg0)
create(WeightedList<BlockState> arg0)
method_28868(class_4131<class_2680> arg0)
wrap(WeightedList<BlockState> states)
func_236812_a_(WeightedList<BlockState> arg0)
protected BlockStateProviderType<?>
a()
type()
method_28862()
getType()
func_230377_a_()
public WeightedStateProvider
a(cee arg0, int arg1)
add(BlockState arg0, int arg1)
method_23458(class_2680 arg0, int arg1)
addState(BlockState state, int weight)
func_227407_a_(BlockState arg0, int arg1)
public BlockState
a(Random arg0, fx arg1)
getState(Random arg0, BlockPos arg1)
method_23455(Random arg0, class_2338 arg1)
getBlockState(Random arg0, BlockPos arg1)
func_225574_a_(Random arg0, BlockPos arg1)