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

public class WeightedStateProvider

extends BlockStateProvider

dch
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.stateprovider.WeightedBlockStateProvider
net.minecraft.src.C_2392_
net.minecraft.world.level.levelgen.feature.stateproviders.WorldGenFeatureStateProviderWeighted

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WeightedStateProvider>
b
CODEC
field_24946
f_zkqqjmxh
CODEC
CODEC
f_68808_
private final SimpleWeightedRandomList<BlockState>
c
weightedList
field_21315
f_jmwmvcfy
states
states
f_68809_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<WeightedStateProvider>
a(aus<cov> arg0)
create(SimpleWeightedRandomList<BlockState> arg0)
method_28868(class_6005<class_2680> arg0)
m_ocjddfsb(C_owfsqzhr<C_txtbiemp> arg0)
wrap(DataPool<BlockState> states)
wrap(DataPool<BlockState> states)
m_161597_(C_141034_<C_2064_> p_161598_)
protected BlockStateProviderType<?>
a()
type()
method_28862()
m_vaopboii()
getType()
getType()
m_5923_()
public BlockState
a(Random arg0, gj 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)
getBlockState(Random arg0, BlockPos arg1)
m_7112_(Random p_68824_, C_4675_ arg1)