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.unmapped.C_pchociiz
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
f_zkqqjmxh
CODEC
field_236811_b_
private final WeightedList<BlockState>
c
weightedList
field_21315
f_jmwmvcfy
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)
m_ocjddfsb(C_bvkdjias<C_txtbiemp> arg0)
wrap(WeightedList<BlockState> states)
func_236812_a_(WeightedList<BlockState> arg0)
protected BlockStateProviderType<?>
a()
type()
method_28862()
m_vaopboii()
getType()
func_230377_a_()
public WeightedStateProvider
a(cee arg0, int arg1)
add(BlockState arg0, int arg1)
method_23458(class_2680 arg0, int arg1)
m_uchdvctk(C_txtbiemp 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)
m_isrwaugi(Random arg0, C_hynzadkk arg1)
getBlockState(Random arg0, BlockPos arg1)
func_225574_a_(Random arg0, BlockPos arg1)