public class RandomFeatureConfig extends Object implements FeatureConfig
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<RandomFeatureConfig> |
CODEC |
Supplier<ConfiguredFeature<?,?>> |
defaultFeature |
List<RandomFeatureEntry> |
features |
DEFAULT
Modifier | Constructor and Description |
---|---|
|
RandomFeatureConfig(List<RandomFeatureEntry> features,
ConfiguredFeature<?,?> defaultFeature) |
private |
RandomFeatureConfig(List<RandomFeatureEntry> features,
Supplier<ConfiguredFeature<?,?>> defaultFeature) |
Modifier and Type | Method and Description |
---|---|
Stream<ConfiguredFeature<?,?>> |
method_30649() |
public static final com.mojang.serialization.Codec<RandomFeatureConfig> CODEC
public final List<RandomFeatureEntry> features
public final Supplier<ConfiguredFeature<?,?>> defaultFeature
public RandomFeatureConfig(List<RandomFeatureEntry> features, ConfiguredFeature<?,?> defaultFeature)
private RandomFeatureConfig(List<RandomFeatureEntry> features, Supplier<ConfiguredFeature<?,?>> defaultFeature)
public Stream<ConfiguredFeature<?,?>> method_30649()
method_30649
in interface FeatureConfig