Class FeatureUtils
java.lang.Object
net.minecraft.data.worldgen.features.FeatureUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Holder<? extends ConfiguredFeature<?,
?>> bootstrap
(Registry<ConfiguredFeature<?, ?>> p_236678_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<ConfiguredFeature<FC,?>> static Holder<ConfiguredFeature<NoneFeatureConfiguration,
?>> register
(String p_206486_, Feature<NoneFeatureConfiguration> p_206487_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
RandomPatchConfigurationsimplePatchConfiguration
(F p_206474_, FC p_206475_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
RandomPatchConfigurationsimplePatchConfiguration
(F p_206477_, FC p_206478_, List<Block> p_206479_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
RandomPatchConfigurationsimplePatchConfiguration
(F p_206481_, FC p_206482_, List<Block> p_206483_, int p_206484_) private static BlockPredicate
simplePatchPredicate
(List<Block> p_195009_) static RandomPatchConfiguration
simpleRandomPatchConfiguration
(int p_206471_, Holder<PlacedFeature> p_206472_)
-
Constructor Details
-
FeatureUtils
public FeatureUtils()
-
-
Method Details
-
bootstrap
public static Holder<? extends ConfiguredFeature<?,?>> bootstrap(Registry<ConfiguredFeature<?, ?>> p_236678_) -
simplePatchPredicate
-
simpleRandomPatchConfiguration
public static RandomPatchConfiguration simpleRandomPatchConfiguration(int p_206471_, Holder<PlacedFeature> p_206472_) -
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F p_206481_, FC p_206482_, List<Block> p_206483_, int p_206484_) -
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F p_206477_, FC p_206478_, List<Block> p_206479_) -
simplePatchConfiguration
public static <FC extends FeatureConfiguration,F extends Feature<FC>> RandomPatchConfiguration simplePatchConfiguration(F p_206474_, FC p_206475_) -
register
public static Holder<ConfiguredFeature<NoneFeatureConfiguration,?>> register(String p_206486_, Feature<NoneFeatureConfiguration> p_206487_) -
register
public static <FC extends FeatureConfiguration,F extends Feature<FC>> Holder<ConfiguredFeature<FC,?>> register(String p_206489_, F p_206490_, FC p_206491_)
-