net.minecraft.world.level.levelgen.feature

public class RandomFeatureConfig

implements FeatureConfiguration

cdr
net.minecraft.world.level.levelgen.feature.RandomFeatureConfig
net.minecraft.class_3141
net.minecraft.world.gen.feature.RandomFeatureConfig
net.minecraft.world.gen.feature.MultipleRandomFeatureConfig
net.minecraft.server.v1_14_R1.WorldGenFeatureRandomChoiceConfiguration

Field summary

Modifier and TypeField
public final List<WeightedConfiguredFeature<?>>
a
features
field_13744
features
field_202449_a
public final ConfiguredFeature<?>
b
defaultFeature
field_13745
defaultFeature
field_202452_d

Constructor summary

ModifierConstructor
public (List<WeightedConfiguredFeature<?>> features, ConfiguredFeature<?> defaultFeature)
public (Feature<?>[] features, FeatureConfiguration[] configs, float[] chances, Feature<?> defaultFeature, FeatureConfiguration arg4)

Method summary

Modifier and TypeMethod
private static <FC extends FeatureConfiguration> WeightedConfiguredFeature<FC>
a(cbn<FC> arg0, cbo arg1, float arg2)
getWeightedConfiguredFeature(Feature<FC> arg0, FeatureConfiguration arg1, float arg2)
method_13710(class_3031<FC> arg0, class_3037 arg1, float arg2)
makeEntry(Feature<FC> feature, FeatureConfig config, float chance)
func_214650_a(Feature<FC> arg0, IFeatureConfig arg1, float arg2)
private static <FC extends FeatureConfiguration> ConfiguredFeature<FC>
a(cbn<FC> arg0, cbo arg1)
getDefaultFeature(Feature<FC> arg0, FeatureConfiguration arg1)
method_13708(class_3031<FC> arg0, class_3037 arg1)
configure(Feature<FC> feature, FeatureConfig config)
func_214651_a(Feature<FC> arg0, IFeatureConfig arg1)
public <T> com.mojang.datafixers.Dynamic<T>
a(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
method_16587(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
func_214634_a(com.mojang.datafixers.types.DynamicOps<T> arg0)
public static <T> RandomFeatureConfig
a(com.mojang.datafixers.Dynamic<T> arg0)
deserialize(com.mojang.datafixers.Dynamic<T> arg0)
method_13709(com.mojang.datafixers.Dynamic<T> arg0)
deserialize(com.mojang.datafixers.Dynamic<T> dynamic)
func_214648_a(com.mojang.datafixers.Dynamic<T> arg0)