net.minecraft.world.level.levelgen.feature

public class WeightedConfiguredFeature

cup
net.minecraft.world.level.levelgen.feature.WeightedConfiguredFeature
net.minecraft.class_3226
net.minecraft.world.gen.feature.RandomFeatureEntry
net.minecraft.src.C_2315_
net.minecraft.world.level.levelgen.feature.WorldGenFeatureRandomChoiceConfigurationWeight

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(bxl arg0, cmo arg1, Random arg2, gg 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)
m_67413_(C_1625_ p_67415_, C_2118_ p_67416_, Random p_67417_, C_4675_ arg3)