net.minecraft.world.gen.feature

public record WeightedRandomFeatureConfig

implements FeatureConfig

net.minecraft.world.level.levelgen.feature.configurations.WeightedRandomFeatureConfiguration
net.minecraft.class_1_903
net.minecraft.world.gen.feature.WeightedRandomFeatureConfig

Field summary

Modifier and TypeField
private final WeightedPool<RegistryEntry<PlacedFeature>>
features
comp_1_803
features
public static final com.mojang.serialization.Codec<WeightedRandomFeatureConfig>
CODEC
field_1_6350
CODEC

Constructor summary

ModifierConstructor
public (WeightedPool<RegistryEntry<PlacedFeature>> features)

Method summary

Modifier and TypeMethod
public Stream<RegistryEntry<ConfiguredFeature<?, ?>>>
getSubFeatures()
method_30649()
getDecoratedFeatures()
public WeightedPool<RegistryEntry<PlacedFeature>>
features()
comp_1_803()
features()
private static Stream
lambda$getSubFeatures$0(Weighted arg0)
method_1_5457(class_6010 arg0)
method_1_5457(Weighted entry)
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_5458(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_1_5458(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)