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

public class WeightedStateProvider

extends BlockStateProvider

cpu
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_R1.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(atb<cfj> arg0)
create(WeightedList<BlockState> arg0)
method_28868(class_4131<class_2680> arg0)
method_28868(WeightedList<BlockState> arg0)
func_236812_a_(WeightedList<BlockState> arg0)
protected BlockStateProviderType<?>
a()
type()
method_28862()
getType()
func_230377_a_()
public WeightedStateProvider
a(cfj 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, fu 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)