net.minecraft.world.level.levelgen.feature

public class WeightedPlacedFeature

dlx
net.minecraft.world.level.levelgen.feature.WeightedPlacedFeature
net.minecraft.class_3226
net.minecraft.world.gen.feature.RandomFeatureEntry
net.minecraft.src.C_182988_
net.minecraft.world.level.levelgen.feature.WeightedPlacedFeature

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<WeightedPlacedFeature>
a
CODEC
field_24864
CODEC
f_191171_
public final Holder<PlacedFeature>
b
feature
field_14013
feature
f_191172_
public final float
c
chance
field_14011
chance
f_191173_

Constructor summary

ModifierConstructor
public (Holder<PlacedFeature> feature, float chance)

Method summary

Modifier and TypeMethod
public boolean
a(cnb arg0, ddo arg1, apo arg2, gt arg3)
place(WorldGenLevel arg0, ChunkGenerator arg1, RandomSource arg2, BlockPos arg3)
method_14271(class_5281 arg0, class_2794 arg1, class_5819 arg2, class_2338 arg3)
generate(StructureWorldAccess world, ChunkGenerator chunkGenerator, Random arg2, BlockPos pos)
m_225367_(C_1625_ p_225369_, C_2118_ p_225370_, C_212974_ p_225371_, C_4675_ arg3)