net.minecraft.world.level.levelgen.feature

public class WeightedConfiguredFeature

clg
net.minecraft.world.level.levelgen.feature.WeightedConfiguredFeature
net.minecraft.class_3226
net.minecraft.world.gen.feature.RandomFeatureEntry
net.minecraft.world.gen.feature.ConfiguredRandomFeatureList
net.minecraft.server.v1_16_R2.WorldGenFeatureRandomChoiceConfigurationWeight

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WeightedConfiguredFeature>
a
CODEC
field_24864
CODEC
field_236430_a_
public final Supplier<ConfiguredFeature<?, ?>>
b
feature
field_14013
feature
field_214842_a
public final float
c
chance
field_14011
chance
field_214844_c

Constructor summary

ModifierConstructor
public (ConfiguredFeature<?, ?> feature, float chance)
private (Supplier<ConfiguredFeature<?, ?>> feature, float chance)

Method summary

Modifier and TypeMethod
public boolean
a(bso arg0, cfv arg1, Random arg2, fx arg3)
place(WorldGenLevel arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3)
method_14271(class_5281 arg0, class_2794 arg1, Random arg2, class_2338 arg3)
generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random random, BlockPos pos)
func_242787_a(ISeedReader arg0, ChunkGenerator arg1, Random arg2, BlockPos arg3)