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

public class WeightedStateProvider

extends BlockStateProvider

All mapped superinterfaces:

Serializable

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

Field summary

Modifier and TypeField
private final WeightedList<BlockState>
b
weightedList
field_21315
states
field_227406_b_

Constructor summary

ModifierConstructor
private (WeightedList<BlockState> states)
public ()
public <T>(com.mojang.datafixers.Dynamic<T> configDeserializer)

Method summary

Modifier and TypeMethod
public WeightedStateProvider
a(byg 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, fk 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)
public <T> T
a(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
method_19508(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
func_218175_a(com.mojang.datafixers.types.DynamicOps<T> arg0)